/* ========== STRAUSS PILE CSS ========== */
/* File ini identik dengan borepile.css, dibuat terpisah untuk konsistensi */

/* ========== VARIABEL WARNA ========== */
:root {
  --primary: #f59e0b;
  --primary-dark: #e67e22;
  --primary-light: #fef3c7;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --light-gray: #f1f5f9;
  --border: #e5e7eb;
  --text-dark: #020617;
  --text-gray: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

:root {
  --primary-color: #f59e0b;
  --secondary-color: #facc15;
  --accent-color: #eab308;
  --text-color: #222;
  --bg-color: #f9f9f9;
  --white: #fff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

/* ========== BLOG PAGE STYLING ========== */
.blog-page {
  padding-top: 80px;
  /* Tinggi header fixed */
}

/* ========== HEADER (override untuk blog) ========== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px var(--shadow);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  height: 45px;
  width: 200px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-color);
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

/* =========================
   HAMBURGER MENU - IMPROVED
   ========================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(245, 158, 11, 0.2);
  transform: scale(1.05);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 3px 0;
  transition: 0.4s;
  border-radius: 2px;
}

.hamburger.active {
  background: rgba(245, 158, 11, 0.2);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
  background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
  background: var(--primary-color);
}

/* =========================
   NAV BUTTON & OVERLAY
   ========================= */
.nav-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  display: block;
}

/* =========================
   DESKTOP DROPDOWN (LAYANAN)
   ========================= */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  min-width: 480px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: white;
  border-top: none;
}

.has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--primary-color);
  background: rgba(245, 158, 11, 0.07);
  padding-left: 1.5rem;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.has-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

/* ========== HERO SECTION ========== */
.blog-page .hero-service {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background:
    radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.18), transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(59, 130, 246, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #111c2f 100%);
  padding: 4rem 0 2.5rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}

/* Efek overlay */
.blog-page .hero-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0));
  z-index: 0;
  pointer-events: none;
}

.blog-page .hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.blog-page .hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.6);
}

.blog-page .hero-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-page .hero-breadcrumb a:hover {
  color: #fff;
}

.blog-page .hero-breadcrumb i {
  font-size: 0.65rem;
  color: var(--primary);
  opacity: 0.7;
}

/* Badge kategori */
.blog-page .hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}

/* H1 */
.blog-page .hero-service h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
.blog-page .hero-subtitle {
  font-size: 0.9rem;
  max-width: 750px;
  margin: 0 auto 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.blog-page .hero-subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

/* Meta info */
.blog-page .hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

.blog-page .hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-page .hero-meta i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ========== LAYOUT UTAMA ========== */
.layout {
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 2rem;
}

/* ========== SIDEBAR KIRI ========== */
.sidebar-left {
  position: sticky;
  top: 90px;
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.toc {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.toc h3 {
  margin: 0 0 1rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  flex-shrink: 0;
}

.toc h3 i {
  color: var(--primary);
}

/* Daftar isi dengan custom counter */
.toc ul {
  flex: 1 1 auto;
  padding-left: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc-counter;
  overflow-y: auto;
  max-height: 280px;
  padding-right: 4px;
}

.toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 2rem;
  word-break: break-word;
}

.toc li::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  width: 1.6rem;
  text-align: right;
  padding-right: 0.4rem;
}

.toc a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
  line-height: 1.4;
}

.toc a:hover {
  color: var(--primary);
  background: #fef9e7;
  padding-left: 1rem;
}

.toc a.active {
  color: var(--primary);
  font-weight: 600;
  background: #fef9e7;
  border-left: 3px solid var(--primary);
}

/* Scrollbar cantik untuk TOC */
.toc ul::-webkit-scrollbar {
  width: 4px;
}

.toc ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.toc ul::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ========== ARTIKEL ========== */
article {
  text-align: justify;
  width: 100%;
}

article h2 {
  margin-top: 3rem;
  scroll-margin-top: 100px;
  font-size: 1.8rem;
  color: var(--dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  text-align: left;
}

article h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 1.8rem 0 1rem;
  text-align: left;
}

article p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  text-align: justify;
  text-justify: inter-word;
}

article ul,
article ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-gray);
}

article li {
  margin-bottom: 0.5rem;
  text-align: justify;
}

.article-intro {
  background: var(--light-gray);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.internal-link-box {
  background: var(--light);
  border: 1px dashed var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.internal-link-box i {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.internal-link-box p {
  margin: 0;
  font-size: 1rem;
}

.internal-link-box a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.internal-link-box a:hover {
  text-decoration: underline;
}

.key-points {
  background: linear-gradient(135deg, var(--light-gray), #eef2f6);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

.key-points h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.article-image {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.article-image img:hover {
  transform: scale(1.02);
}

.article-image figcaption {
  background: var(--light);
  padding: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* Gallery untuk studi kasus */
.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.case-image {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-image figcaption {
  background: var(--light);
  padding: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* ========== TABEL ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

th {
  background: var(--dark);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: var(--light);
}

/* ========== FAQ SECTION ========== */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========== ARTIKEL TERKAIT ========== */
.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.related-articles li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.related-articles i {
  color: var(--primary);
  font-size: 1rem;
}

.related-articles a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.related-articles a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* ========== BANNER ARTOMORO ========== */
.banner-artomoro {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 112px;
  margin: 3rem auto;
  background: linear-gradient(145deg, var(--dark), var(--dark-light));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-artomoro::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.banner-artomoro .banner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.banner-artomoro .banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-text {
  width: 100%;
  text-align: center;
}

.banner-artomoro .banner-tagline {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.banner-artomoro .banner-title {
  font-size: 0.65rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}

.banner-artomoro .banner-cta-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.45rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.banner-artomoro .banner-cta i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.banner-artomoro .banner-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.banner-artomoro .banner-cta:hover i {
  transform: translateX(4px);
}

/* ========== SIDEBAR KANAN ========== */
.sidebar-right {
  position: sticky;
  top: 90px;
  align-self: start;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

/* ========== TRUST BANNER ========== */
.trust-banner {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7, #fde68a);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: auto;
}

.trust-badge {
  display: inline-block;
  background: var(--dark);
  color: var(--primary-light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  width: fit-content;
  letter-spacing: 0.3px;
}

.trust-banner h4 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.trust-banner p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.trust-list li {
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
}

.trust-list i {
  color: var(--primary);
  font-size: 0.9rem;
}

.trust-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--dark);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  border: 2px solid transparent;
}

.trust-cta:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.trust-banner small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.6rem;
  opacity: 0.75;
  font-weight: 600;
  text-align: center;
}

/* Pattern & Glow */
.trust-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      rgba(245, 158, 11, 0.18),
      rgba(245, 158, 11, 0.18) 2px,
      transparent 2px,
      transparent 8px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.trust-glow {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(15px) translateX(5px);
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.footer-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.footer-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-content a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-content a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-light);
}

.footer-bottom p {
  text-align: center;
}

.footer-small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  text-align: center;
}

/* ========== RESPONSIVE ========== */

/* Large Desktop */
@media (min-width: 1200px) and (max-width: 1400px) {
  .layout {
    grid-template-columns: 240px 1fr 260px;
    gap: 1.8rem;
    padding: 0 1.5rem;
  }

  .trust-banner {
    min-height: 380px;
  }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .layout {
    grid-template-columns: 220px 1fr 240px;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .trust-banner {
    min-height: 360px;
    padding: 1.3rem;
  }

  .trust-banner h4 {
    font-size: 1.2rem;
  }

  article p {
    font-size: 1rem;
  }

  article h2 {
    font-size: 1.7rem;
  }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 991px) {
  .layout {
    grid-template-columns: 200px 1fr 220px;
    gap: 1.2rem;
    padding: 0 1.2rem;
  }

  .trust-banner {
    min-height: 340px;
    padding: 1.2rem;
  }

  .trust-banner h4 {
    font-size: 1.1rem;
  }

  .trust-list li {
    font-size: 0.7rem;
  }

  article p {
    font-size: 0.95rem;
  }

  article h2 {
    font-size: 1.6rem;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }
}

/* Tablet & Mobile */
@media (max-width: 767px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.2rem;
  }

  .sidebar-left,
  .sidebar-right {
    position: static;
    max-height: none;
  }

  .trust-banner {
    min-height: auto;
    height: auto;
    margin-top: 1rem;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  article p {
    font-size: 1rem;
  }

  .banner-artomoro {
    height: auto;
    min-height: 120px;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }

  .banner-artomoro .banner-logo,
  .banner-artomoro .banner-content,
  .banner-artomoro .banner-cta-wrapper {
    width: 100%;
    justify-content: center;
    height: auto;
  }

  .banner-artomoro .banner-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Kecil */
@media (max-width: 480px) {
  .layout {
    padding: 0 1rem;
  }

  .trust-banner {
    padding: 1.2rem;
  }

  .trust-banner h4 {
    font-size: 1.1rem;
  }

  .trust-list li {
    font-size: 0.7rem;
  }

  .trust-cta {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }

  article p {
    font-size: 0.95rem;
  }

  article h2 {
    font-size: 1.5rem;
  }

  article h3 {
    font-size: 1.1rem;
  }
}

/* ========= MOBILE NAVIGATION RESPONSIVE (768px) ========== */
@media (max-width: 768px) {

  html,
  body,
  main,
  section {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  nav>.nav-btn,
  nav>a.nav-btn {
    display: none !important;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .has-dropdown .dropdown a {
    justify-content: center;
    padding-left: 2rem;
  }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    background: rgba(245, 158, 11, 0.03);
    margin-top: 0.5rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    border: none;
  }

  .has-dropdown.active .dropdown {
    max-height: 400px;
    padding: 8px 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .has-dropdown .dropdown::before {
    display: none;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .blog-page .hero-service {
    position: static;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================================================
   GLOBAL OVERFLOW & WRAP FIX FOR MOBILE (ADDED VIA SCRIPT)
   ========================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
  }
  
  /* Fix breadcrumb & meta overflowing */
  .blog-page .hero-breadcrumb,
  .blog-page .hero-meta {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  /* Prevent long text/URLs from breaking layout */
  article, .article-content, p, h1, h2, h3, h4, h5, h6, a {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }
  
  /* Ensure images never exceed container width */
  article img, article figure, .article-image img, .case-image img {
    max-width: 100% !important;
    height: auto !important;
  }
}
