/* ============================================================
   BYMANDA COLLECTIVE — Alexis Theme Adaptation (v2)
   Pixel-perfect reconstruction
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --accent: #960;
  --accent-hover: #690;
  --black: #000;
  --white: #fff;
  --text-dark: #000;
  --text-body: #666;
  --text-muted: #999;
  --text-light: #aaa;
  --bg-dark: #111;
  --bg-overlay: rgba(0,0,0,0.92);
  --bg-overlay-light: rgba(0,0,0,0.8);
  --bg-header-sticky: rgba(0,0,0,0.65);
  --bg-team-hover: rgba(0,0,0,0.1);
  --bg-light: #f4f4f4;
  --border: #dfdfdf;
  --border-light: #e7e7e7;
  --border-lighter: #ddd;

  --font-display: 'Libre Baskerville', serif;
  --font-body: 'DM Sans', sans-serif;

  --fs-hero: 30px;
  --fs-title: 60px;
  --fs-section: 48px;
  --fs-testimonial: 30px;
  --fs-large: 18px;
  --fs-filter: 16px;
  --fs-menu: 14px;
  --fs-small: 13px;

  --container: 1200px;
  --fluid-pad: 60px;
  --gutter: 1.5rem;

  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ============================================================
   GRID SYSTEM (minimal Bootstrap-like)
   ============================================================ */
.container {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px;
}
.container-fluid {
  width: 100%; padding: 0 var(--fluid-pad);
}
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col, [class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  box-sizing: border-box;
}
.col { flex: 1; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
}
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display { font-family: var(--font-display); }

.section-title { margin-bottom: 80px; }
.section-title .sub-label {
  color: var(--text-muted); font-size: 14px; text-transform: uppercase;
  letter-spacing: 0.3px; margin-bottom: 10px; font-weight: 400;
}
.section-title .main-title {
  font-size: var(--fs-section); font-weight: 700;
  letter-spacing: -1.377px; line-height: 1.1; color: var(--text-dark);
}
.section-title .main-title span { color: var(--accent); font-weight: 300; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 14px 32px;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.3s ease; line-height: 1.4;
}
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-link {
  color: var(--text-muted); font-size: var(--fs-small); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s;
}
.btn-link:hover { color: var(--accent); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  background: var(--white); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
#preloader .dot {
  width: 50px; height: 50px; background: var(--black);
  border-radius: 3px; animation: rotateplane 1.2s ease-in-out infinite;
}
@keyframes rotateplane {
  0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header-area {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 24px 0; transition: all 0.35s ease;
}
.header-area.dark {
  background: var(--bg-header-sticky);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-area.sticky {
  background: var(--bg-header-sticky); padding: 14px 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-area .container-fluid,
.header-area .header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.header-logo {
  justify-self: start;
  max-width: 260px;
  min-width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo a { text-decoration: none; display: inline-flex; flex-direction: column; }
.header-logo .brand-text { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.5px; color: #ffffff; line-height: 1; display: block; transition: font-size 0.3s ease; }
.header-logo .brand-sub { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 4.5px; text-transform: uppercase; color: #d1d5db; line-height: 1.2; margin-top: 3px; display: block; transition: font-size 0.3s ease, margin-top 0.3s ease; }
.header-logo img { width: 145px; max-width: 100%; height: auto; max-height: 46px; display: block; object-fit: contain; transition: width 0.3s ease, max-height 0.3s ease; }
.header-area.sticky .header-logo .brand-text { font-size: 24px; }
.header-area.sticky .header-logo .brand-sub { font-size: 8px; letter-spacing: 3.5px; margin-top: 2px; }
.header-area.sticky .header-logo img { width: 125px; max-height: 38px; }

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > li { position: relative; margin: 0; }
.main-nav > li > a {
  display: block; padding: 7px 18px;
  color: rgba(255,255,255,0.85); font-size: var(--fs-menu);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: color 0.3s ease; line-height: 30px;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--accent); }

/* Submenu */
.main-nav .submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--bg-dark); min-width: 240px; padding: 12px 0;
  margin-top: 32px; opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.35s var(--ease);
  z-index: 10;
}
.main-nav > li:hover .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .submenu a {
  display: block; padding: 8px 24px;
  color: var(--text-light); font-size: 14px;
  transition: all 0.25s;
}
.main-nav .submenu a:hover { color: var(--white); padding-left: 28px; }

/* Header Actions */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Language Switcher (ID / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.header-area.sticky .lang-switcher,
.header-area.dark .lang-switcher {
  border-color: #e2e8f0;
  background: #f1f5f9;
}
.lang-btn {
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding: 2px 7px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  line-height: 1.4;
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  background: var(--accent, #8c6239);
  color: #ffffff;
}
.header-area.sticky .lang-btn,
.header-area.dark .lang-btn {
  color: #64748b;
}
.header-area.sticky .lang-btn:hover,
.header-area.dark .lang-btn:hover {
  color: #111827;
}
.header-area.sticky .lang-btn.active,
.header-area.dark .lang-btn.active {
  background: #111827;
  color: #ffffff;
}
.lang-divider {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.header-area.sticky .lang-divider,
.header-area.dark .lang-divider {
  color: #cbd5e1;
}

/* Mobile Offcanvas Language Switcher */
.mobile-lang-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-lang-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.mobile-lang-pills {
  display: flex;
  gap: 8px;
}
.mobile-lang-btn {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: inherit;
}
.mobile-lang-btn:hover {
  background: rgba(255,255,255,0.12);
}
.mobile-lang-btn.active {
  background: var(--accent, #8c6239);
  border-color: var(--accent, #8c6239);
  color: #ffffff;
}

/* Hide Google Translate UI Elements */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}
body {
  top: 0 !important;
  position: static !important;
}
#google_translate_element {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.search-toggle {
  background: none; border: none; color: var(--white);
  font-size: 18px; cursor: pointer; padding: 6px;
  transition: color 0.3s; line-height: 1;
}
.search-toggle:hover { color: var(--accent); }

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 1000;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: all 0.3s ease; border-radius: 1px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
#searchOverlay {
  position: fixed; inset: 0; width: 100%; min-height: 100vh;
  background: var(--bg-overlay); display: flex; align-items: center;
  justify-content: center; opacity: 0; visibility: hidden;
  z-index: 9999; transition: all 0.4s ease;
}
#searchOverlay.active { opacity: 1; visibility: visible; z-index: 9999999; }
#searchOverlay .search-form { width: 80%; max-width: 800px; }
#searchOverlay .search-form input {
  background: transparent; border: none; border-bottom: 3px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: clamp(32px, 6vw, 100px); width: 100%;
  outline: none; font-family: var(--font-body); text-align: center;
  padding: 10px 0; transition: border-color 0.3s;
}
#searchOverlay .search-form input:focus { border-bottom-color: var(--accent); }
#searchOverlay .search-form input::placeholder { color: rgba(255,255,255,0.4); }
#searchOverlay .search-close {
  position: absolute; top: 30px; right: 40px;
  color: var(--white); font-size: 28px; cursor: pointer;
  background: none; border: none; padding: 8px; opacity: 0.7;
  transition: opacity 0.3s;
}
#searchOverlay .search-close:hover { opacity: 1; }
#searchOverlay #searchResults { margin-top: 40px; }

/* ============================================================
   OFF-CANVAS (MOBILE MENU)
   ============================================================ */
#offCanvas {
  position: fixed; right: 0; top: 0; width: 100%; height: 100vh;
  z-index: 9999; opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.35s ease;
}
#offCanvas.active { opacity: 1; visibility: visible; pointer-events: auto; }
#offCanvas .overlay {
  position: absolute; inset: 0; background: var(--bg-overlay-light); z-index: 2;
}
#offCanvas .inner { position: relative; z-index: 9; }
#offCanvas .content {
  background: var(--bg-dark); width: 320px; height: 100vh;
  overflow-y: auto; margin-left: auto;
  transform: translateX(100%); z-index: 9; position: relative;
  padding: 80px 32px 40px; transition: transform 0.4s var(--ease);
}
#offCanvas.active .content { transform: none; }
#offCanvas .close-btn {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 22px; cursor: pointer; transition: color 0.3s;
}
#offCanvas .close-btn:hover { color: var(--white); }
#offCanvas .menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
#offCanvas .menu li a {
  display: block; padding: 14px 0;
  color: var(--text-light); font-size: var(--fs-menu);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: color 0.3s;
}
#offCanvas .menu li a:hover { color: var(--accent); }
#offCanvas .social { margin-top: 32px; display: flex; gap: 20px; }
#offCanvas .social a { color: var(--text-muted); font-size: 14px; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-section {
  position: relative; height: 100vh; min-height: 600px;
  background: var(--black); overflow: hidden;
}
.hero-section .swiper, .hero-section .swiper-wrapper { height: 100%; }
.hero-section .swiper-slide { position: relative; overflow: hidden; }
.hero-section .swiper-slide::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero-section .slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-section .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero-section .slide-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 100px;
  overflow-y: auto;
}
.hero-section .slide-content .eyebrow {
  color: rgba(255,255,255,0.6); font-size: 13px; text-transform: uppercase;
  letter-spacing: 4px; margin-bottom: 20px; font-weight: 500;
}
.hero-section .slide-content h2 {
  font-family: var(--font-display); font-size: clamp(22px, 4vw, 48px);
  letter-spacing: -0.5px; line-height: 1.3; color: var(--white);
  margin-bottom: 16px; font-weight: 400;
}
.hero-section .slide-content .desc {
  color: rgba(255,255,255,0.7); font-size: 16px; max-width: 520px;
  line-height: 1.7; margin: 0 auto 32px;
}
.hero-section .swiper-pagination { bottom: 40px !important; }
.hero-section .swiper-pagination-bullet {
  width: 10px; height: 10px; background: rgba(255,255,255,0.4);
  opacity: 1; margin: 0 6px !important;
}
.hero-section .swiper-pagination-bullet-active { background: var(--accent); }
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: rgba(255,255,255,0.5); transition: color 0.3s;
  display: none;
}
.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover { color: var(--white); }

/* ============================================================
   SECTION SPACING
   ============================================================ */
.section { padding: 100px 0; }
.section-top { padding-top: 100px; }
.section-bottom { padding-bottom: 100px; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

/* ============================================================
   PORTFOLIO / MASONRY GRID
   ============================================================ */
.portfolio-area { padding: 60px 0 100px; }
.portfolio-area .container-fluid { padding: 0 60px; }

/* Filter */
.filter-bar {
  margin-bottom: 36px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 10px;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}
.filter-bar button {
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-bar button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.25s var(--ease);
  transform: translateX(-50%);
}
.filter-bar button:hover {
  color: var(--text-dark);
}
.filter-bar button.is-checked {
  color: var(--accent);
  font-weight: 800;
}
.filter-bar button.is-checked::after {
  width: 55%;
}

/* Grid */
.portfolio-grid { display: flex; flex-wrap: wrap; margin: -8px; }
.portfolio-grid .item {
  padding: 8px; position: relative; overflow: hidden;
}
.portfolio-grid .item .thumb {
  position: relative; overflow: hidden; border-radius: 2px;
}
.portfolio-grid .item .thumb img {
  width: 100%; transition: transform 0.8s var(--ease);
}
.portfolio-grid .item:hover .thumb img { transform: scale(1.06); }
.portfolio-grid .item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; padding: 28px;
}
.portfolio-grid .item:hover .overlay { opacity: 1; }
.portfolio-grid .item .overlay .info { color: var(--white); }
.portfolio-grid .item .overlay .info .name {
  font-size: 20px; font-weight: 700; margin-bottom: 4px;
}
.portfolio-grid .item .overlay .info .category {
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500;
}

/* ============================================================
   PAGE TITLE
   ============================================================ */
.page-title { padding: 160px 0 90px; text-align: center; }
.page-title .label {
  color: var(--text-muted); font-size: 14px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 12px; font-weight: 500;
}
.page-title h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, var(--fs-title));
  letter-spacing: -1px; line-height: 1.1; color: var(--text-dark);
  margin-bottom: 16px;
}
.page-title .sub {
  color: var(--text-body); font-size: var(--fs-large); max-width: 560px;
  line-height: 1.7; margin: 0 auto;
}

/* ============================================================
   PORTFOLIO SINGLE (DETAIL)
   ============================================================ */
.portfolio-single { padding: 150px 0 100px; }
.portfolio-single .project-cat {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}
.portfolio-single .project-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 44px;
}
.portfolio-single .project-meta-wrap {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 32px;
  margin-bottom: 48px;
}
.portfolio-single .project-meta {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 auto;
}
.portfolio-single .project-meta .meta-item {
  text-align: center;
  min-width: 90px;
  margin-bottom: 0;
}
.portfolio-single .project-meta .meta-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.portfolio-single .project-meta .meta-item .value {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.portfolio-single .project-desc {
  max-width: 740px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
  text-align: center;
}
.portfolio-single .project-gallery {
  max-width: 820px;
  margin: 0 auto 50px;
}
.portfolio-single .project-gallery .row {
  margin: 0 -12px;
}
.portfolio-single .project-gallery [class*="col-"] {
  padding: 0 12px;
}
.portfolio-single .project-gallery .gallery-item {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.portfolio-single .project-gallery img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.portfolio-single .project-gallery .gallery-item:hover img {
  transform: scale(1.025);
}
.portfolio-single .project-gallery .caption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}
.portfolio-single .project-nav {
  border-top: 1px solid var(--border-light); padding-top: 40px;
  display: flex; justify-content: space-between;
}
.portfolio-single .project-nav a {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--text-muted); transition: color 0.3s;
}
.portfolio-single .project-nav a:hover { color: var(--accent); }

/* CTA Section */
.cta-section { text-align: center; padding: 80px 0; }
.cta-section h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  color: var(--text-dark); margin-bottom: 24px; line-height: 1.3;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { margin-bottom: 40px; }
.about-hero img { width: 100%; border-radius: 2px; }

/* About Intro — 2 kolom (gambar + teks) */
.about-intro-section { padding: 90px 0 100px; }
.about-hero-row { align-items: flex-start; }
.about-hero-image {
  padding-right: 70px;
}
.about-hero-image img {
  width: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-hero-text {
  padding-left: 10px;
  margin-top: 60px;
}
.about-hero-text .sub-label {
  color: var(--text-muted); font-size: 13px; text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 14px; font-weight: 500;
}
.about-hero-text h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px);
  color: var(--text-dark); line-height: 1.2; margin-bottom: 20px;
}
.about-hero-text p {
  font-size: 16px; line-height: 1.8; color: var(--text-body);
  margin-bottom: 16px;
}
.about-hero-text .signoff { font-style: italic; color: var(--accent); }
.about-hero-text .btn { margin-top: 12px; }
.about-intro { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.about-intro h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  color: var(--text-dark); margin-bottom: 24px;
}
.about-intro p {
  font-size: var(--fs-large); line-height: 1.9; margin-bottom: 20px;
}
.about-intro .signoff { font-style: italic; color: var(--accent); }

/* Services Grid */
.services-section { padding: 0 0 100px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  max-width: 900px;
  margin: 0 auto;
}
.service-card {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.service-card .service-num {
  font-family: var(--font-display); font-size: 15px;
  color: var(--accent); font-weight: 700; min-width: 30px;
}
.service-card h3 {
  font-size: 18px; font-weight: 500; color: var(--text-dark);
  line-height: 1.4;
}
.service-card:hover h3 { color: var(--accent); transition: color 0.3s; }

/* Ecosystem */
.eco-card { margin-bottom: 32px; }
.eco-card h4 {
  font-family: var(--font-display); font-size: 20px;
  color: var(--text-dark); margin-bottom: 8px;
}
.eco-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* Team */
.team-member {
  position: relative; overflow: hidden; margin-bottom: 24px;
  border-radius: 2px;
}
.team-member img { width: 100%; transition: transform 0.8s var(--ease); }
.team-member:hover img { transform: scale(1.06); }
.team-member .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 24px;
}
.team-member:hover .overlay { opacity: 1; }
.team-member .overlay .info { color: var(--white); }
.team-member .overlay .info .name { font-size: 18px; font-weight: 700; }
.team-member .overlay .info .pos { font-size: 13px; color: rgba(255,255,255,0.7); }

/* Testimonials */
.testimonial-section { background: var(--bg-light); }
.testimonial { text-align: center; max-width: 760px; margin: 0 auto; }
.testimonial blockquote {
  font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.7; color: var(--text-dark); margin-bottom: 32px;
  font-style: italic;
}
.testimonial .author { color: var(--accent); font-size: 20px; font-weight: 700; }
.testimonial .company { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* Milestones */
.milestone { margin-bottom: 36px; }
.milestone .year {
  font-family: var(--font-display); font-size: 22px;
  color: var(--accent); margin-bottom: 6px;
}
.milestone .label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 4px;
}
.milestone .title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.milestone .desc { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* Clients */
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.client-grid .client-logo {
  padding: 16px 24px; opacity: 0.5; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.client-grid .client-logo:hover { opacity: 1; }
.client-grid .client-logo img { max-height: 50px; width: auto; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-area { padding: 0 0 100px; }

/* Blog Filter */
.blog-filter {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 10px;
}
.blog-filter::-webkit-scrollbar {
  display: none;
}
.blog-filter button {
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-filter button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.25s;
  transform: translateX(-50%);
}
.blog-filter button:hover {
  color: var(--text-dark);
}
.blog-filter button.is-checked {
  color: var(--accent);
  font-weight: 800;
}
.blog-filter button.is-checked::after {
  width: 55%;
}

/* Blog Card */
.blog-grid { margin: -15px; display: flex; flex-wrap: wrap; }
.blog-card { padding: 15px; }
.blog-card .thumb {
  position: relative; overflow: hidden; margin-bottom: 20px; border-radius: 2px;
}
.blog-card .thumb img { width: 100%; transition: transform 0.8s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.12); }
.blog-card .cat {
  font-size: 11px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px; display: block; font-weight: 600;
}
.blog-card h3 {
  font-size: 20px; font-weight: 700; line-height: 1.4;
  margin-bottom: 8px; color: var(--text-dark);
  transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--accent); }
.blog-card h3 a { color: inherit; }
.blog-card .meta {
  font-size: 12px; color: var(--text-muted); margin-bottom: 12px;
}
.blog-card .excerpt {
  font-size: 14px; line-height: 1.7; color: var(--text-body);
  margin-bottom: 12px;
}

/* Load More */
.load-more { text-align: center; margin-top: 48px; }
.load-more button {
  background: none; border: none; font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted);
  cursor: pointer; padding: 12px 32px; transition: color 0.3s;
}
.load-more button:hover { color: var(--accent); }

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.blog-detail { padding: 150px 0 100px; }
.blog-detail .post-content { max-width: 860px; margin: 0 auto; }
.blog-detail .post-header { text-align: center; margin-bottom: 40px; }
.blog-detail .post-header .cat {
  font-size: 12px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 2px; font-weight: 600; margin-bottom: 12px; display: block;
}
.blog-detail .post-header h1 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--text-dark); line-height: 1.3; margin-bottom: 12px;
}
.blog-detail .post-header .meta { color: var(--text-body); font-size: 14px; }
.blog-detail .post-featured { margin-bottom: 40px; }
.blog-detail .post-featured img { width: 100%; border-radius: 2px; }
.blog-detail .post-body {
  max-width: 700px; margin: 0 auto; padding: 0 15px;
}
.blog-detail .post-body p {
  font-size: 16px; line-height: 1.9; color: var(--text-body); margin-bottom: 20px;
}
.blog-detail .post-body h1,
.blog-detail .post-body h2 {
  font-family: var(--font-display); font-size: 26px; color: var(--text-dark);
  margin: 40px 0 16px; line-height: 1.35;
}
.blog-detail .post-body h3 {
  font-size: 20px; font-weight: 700; color: var(--text-dark);
  margin: 32px 0 12px; line-height: 1.4;
}
.blog-detail .post-body h4 {
  font-size: 17px; font-weight: 700; color: var(--text-dark);
  margin: 24px 0 10px;
}
.blog-detail .post-body ul,
.blog-detail .post-body ol {
  margin: 0 0 24px 24px;
  line-height: 1.8;
  color: var(--text-body);
}
.blog-detail .post-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.blog-detail .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 24px 0;
  display: block;
}
.blog-detail .post-body a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}
.blog-detail .post-body blockquote {
  font-family: var(--font-display); font-size: 19px; line-height: 1.6;
  color: var(--text-dark); padding: 18px 24px; margin: 32px 0;
  border-left: 3px solid var(--accent); font-style: italic;
  background: #fafaf9; border-radius: 0 6px 6px 0;
}
.blog-detail .post-body pre,
.blog-detail .post-body code {
  background: #f1f5f9;
  border-radius: 4px;
  padding: 3px 6px;
  font-family: monospace;
  font-size: 14px;
}
.blog-detail .post-body pre {
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 24px;
}
.blog-detail .post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0; }
.blog-detail .post-tags a {
  color: var(--text-muted); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 6px 16px; border: 1px solid var(--border);
  transition: all 0.3s; border-radius: 2px;
}
.blog-detail .post-tags a:hover { color: var(--accent); border-color: var(--accent); }
.blog-detail .post-nav {
  display: flex; justify-content: space-between; padding-top: 32px;
  border-top: 1px solid var(--border-lighter);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px;
}
.blog-detail .post-nav a { color: var(--text-muted); transition: color 0.3s; }
.blog-detail .post-nav a:hover { color: var(--accent); }

/* Comments */
.comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border-lighter); }
.comments h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
.comment-item { padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.comment-item .name { font-weight: 700; color: var(--text-dark); }
.comment-item .date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.comment-item .text { color: var(--text-body); line-height: 1.6; }

/* ============================================================
   CONTACT (MODERN LUXURY 2-COLUMN BALANCED REDESIGN)
   ============================================================ */
.contact-hero {
  padding: 130px 0 50px;
  text-align: center;
}
.contact-hero .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.contact-hero .sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

.contact-area {
  padding: 20px 0 100px;
}

/* 2-COLUMN BALANCED GRID (1 SECTION = 2 BOXES PER ROW) */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.contact-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-header-badge .card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.card-status-dot {
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-status-dot .pulse {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.card-badge-gold {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: 20px;
}
.card-badge-subtle {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 20px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.contact-card .card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* HQ Item Details */
.hq-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.hq-icon {
  width: 36px;
  height: 36px;
  background: #faf6f0;
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hq-text strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}
.hq-text p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}
.hq-hours {
  background: #fafafa;
  border: 1px solid #f1f1f1;
  padding: 12px 14px;
  border-radius: 8px;
}

.hq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 12px;
}
.label-tiny {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}
.email-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.email-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
.btn-hq-map {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-hq-map:hover {
  background: var(--text-dark);
  color: #ffffff;
}

/* WhatsApp Channels */
.wa-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wa-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.wa-channel-item:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(153, 102, 0, 0.08);
}
.wa-channel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-channel-icon {
  width: 34px;
  height: 34px;
  background: #faf6f0;
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.wa-channel-item:hover .wa-channel-icon {
  background: var(--accent);
  color: #ffffff;
}
.wa-channel-text .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  line-height: 1.3;
}
.wa-channel-text .phone {
  font-size: 12px;
  color: var(--text-muted);
}
.wa-channel-action {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: #ffffff;
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.wa-channel-item:hover .wa-channel-action {
  background: var(--accent);
  color: #ffffff;
}

/* Career Roles Tags */
.crew-role-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 20px;
}
.crew-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 9px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.crew-tag svg {
  color: var(--accent);
  flex-shrink: 0;
}
.crew-tag:hover {
  border-color: var(--accent);
  background: #fdfaf6;
}
.career-action-box {
  background: #fdfaf6;
  border: 1px solid #f2e7d7;
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: auto;
}
.email-link-highlight {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  display: block;
}
.email-link-highlight:hover {
  text-decoration: underline;
}

/* Ecosystem Channels Grid */
.eco-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.eco-channel-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.eco-channel-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.eco-channel-card .icon {
  width: 30px;
  height: 30px;
  background: #faf6f0;
  color: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.eco-channel-card:hover .icon {
  background: var(--accent);
  color: #ffffff;
}
.eco-channel-card .text strong {
  font-size: 12px;
  color: var(--text-dark);
  display: block;
  line-height: 1.2;
}
.eco-channel-card .text small {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
}

/* Contact Form Section */
.contact-form-section {
  margin-bottom: 50px;
}
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 50px 48px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.035);
}
.form-header-area {
  max-width: 680px;
  margin: 0 auto 36px;
}
.form-header-area .card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}
.form-header-area h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--text-dark);
  margin-bottom: 10px;
}
.form-header-area p.subtitle {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 22px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form label span.req {
  color: #e11d48;
}
.contact-form .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(153, 102, 0, 0.12);
}
.contact-form .form-control::placeholder {
  color: #9ca3af;
}
.contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.contact-form .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

.btn-contact-submit {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  padding: 16px 42px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(153, 102, 0, 0.22);
  font-family: inherit;
}
.btn-contact-submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(153, 102, 0, 0.35);
}

.form-trust-note {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748b;
}

/* Map Card */
.contact-map-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.035);
  background: #ffffff;
}
.map-card-header {
  padding: 24px 28px;
  background: #fafafa;
  border-bottom: 1px solid #eef0f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.map-card-info .card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}
.map-card-info h4 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--text-dark);
}
.map-card-info p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
}
.btn-open-maps {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid #d1d5db;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-open-maps:hover {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}
.contact-map-card iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

@media (max-width: 991px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  .crew-role-tags,
  .eco-tag-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white); color: var(--text-body); padding: 48px 0;
  border-top: 1px solid var(--border-lighter);
}
.site-footer .container-fluid { padding: 0 60px; }
.site-footer .footer-left { padding-left: 32px; }
.site-footer .footer-left a {
  color: var(--text-body); font-size: 13px; margin-right: 24px;
  transition: color 0.3s;
}
.site-footer .footer-left a:hover { color: var(--accent); }
.site-footer .footer-center { text-align: center; }
.site-footer .footer-center p { font-size: 13px; line-height: 1.7; }
.site-footer .footer-right { text-align: right; }
.site-footer .social-link {
  color: var(--text-dark); font-size: 14px; margin-left: 24px;
  transition: color 0.3s;
}
.site-footer .social-link:hover { color: var(--accent); }
.site-footer .social-link:first-child { margin-left: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px; }
.error-page h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); color: var(--text-dark); margin-bottom: 16px; }
.error-page p { font-size: var(--fs-large); color: var(--text-body); margin-bottom: 32px; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed; right: 30px; bottom: -60px; z-index: 999;
  width: 50px; height: 50px; line-height: 50px; text-align: center;
  background: var(--black); color: var(--white); border-radius: 50%;
  border: none; cursor: pointer; font-size: 18px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
#scrollTop.visible { bottom: 96px; opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--accent); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1399px) {
  :root { --fluid-pad: 40px; }
}

@media (max-width: 1199px) {
  :root { --fs-title: 48px; --fs-section: 40px; --fs-testimonial: 24px; }
  .section, .section-top { padding-top: 80px; }
  .section, .section-bottom { padding-bottom: 80px; }
  .section-title { margin-bottom: 60px; }
  .page-title { padding: 140px 0 50px; }
}

@media (max-width: 991px) {
  :root { --fluid-pad: 20px; --fs-section: 36px; --fs-title: 36px; }

  .header-area .container-fluid,
  .header-area .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-nav { display: none; }
  .menu-toggle { display: block; }

  .header-area { padding: 24px 0; }
  .header-area.sticky { padding: 14px 0; }
  .header-logo { max-width: 220px; }
  .header-logo .brand-text { font-size: 26px; }
  .header-logo .brand-sub { font-size: 8px; letter-spacing: 3.5px; }
  .header-logo img { width: 135px; max-height: 42px; }

  .portfolio-area { padding: 40px 0 80px; }
  .portfolio-area .container-fluid { padding: 0 20px; }

  .hero-section .slide-content { padding: 100px 20px 60px; }
  .hero-section .slide-content h2 { font-size: 26px; }

  .portfolio-single { padding: 130px 0 80px; }
  .portfolio-single .project-title { font-size: 36px; }

  .section, .section-top { padding-top: 60px; }
  .section, .section-bottom { padding-bottom: 60px; }
  .section-title { margin-bottom: 48px; }
  .page-title { padding: 120px 0 40px; }
  .page-title h1 { font-size: 36px; }

  .site-footer .container-fluid { padding: 0 20px; }
  .site-footer .footer-left,
  .site-footer .footer-center,
  .site-footer .footer-right {
    text-align: center; margin-bottom: 12px;
  }
  .site-footer .footer-right { text-align: center; }
  .site-footer .social-link { margin: 0 12px; }

  .contact-form .btn-submit { font-size: 14px; padding: 32px 0 5px; }
  .blog-detail { padding: 130px 0 80px; }
  .blog-detail .post-body { padding: 0; }

  #searchOverlay .search-form input { font-size: 48px; }
}

@media (max-width: 767px) {
  :root { --fs-section: 28px; --fs-title: 30px; --fs-hero: 24px; --fs-large: 16px; }

  .header-area { padding: 16px 0; }
  .header-logo { max-width: 180px; }
  .header-logo .brand-text { font-size: 22px; }
  .header-logo .brand-sub { font-size: 7px; letter-spacing: 3px; }
  .header-logo img { width: 115px; max-height: 36px; }

  .hero-section { height: 80vh; min-height: 500px; }
  .hero-section .slide-content h2 { font-size: 22px; }
  .hero-section .slide-content .eyebrow { font-size: 11px; letter-spacing: 3px; }

  .section, .section-top { padding-top: 48px; }
  .section, .section-bottom { padding-bottom: 48px; }
  .section-title { margin-bottom: 36px; }
  .section-title .main-title { font-size: 28px; }
  .page-title { padding: 100px 0 32px; }
  .page-title h1 { font-size: 30px; }

  .portfolio-area { padding: 24px 0 60px; }
  .portfolio-grid .item { padding: 6px; }
  .filter-bar { gap: 2px; }
  .filter-bar button { padding: 6px 10px; font-size: 13px; }

  .portfolio-single { padding: 110px 0 60px; }
  .portfolio-single .project-title { font-size: 28px; }
  .portfolio-single .project-nav { flex-direction: column; gap: 12px; text-align: center; }

  .blog-card h3 { font-size: 18px; }
  .blog-filter { gap: 2px; }
  .blog-filter button { padding: 6px 10px; font-size: 13px; }
  .blog-detail { padding: 110px 0 60px; }
  .blog-detail .post-nav { flex-direction: column; gap: 12px; text-align: center; }

  .contact-intro h2 { font-size: 28px; }
  .about-intro h2 { font-size: 28px; }
  .cta-section h2 { font-size: 24px; }
  .cta-section { padding: 48px 0; }

  #searchOverlay .search-form input { font-size: 32px; }
  #searchOverlay .search-close { top: 16px; right: 16px; font-size: 22px; }

  #scrollTop { width: 40px; height: 40px; line-height: 40px; right: 16px; }
  #scrollTop.visible { bottom: 20px; }

  .client-grid .client-logo img { max-height: 36px; }
  .team-member .overlay .info .name { font-size: 15px; }
  .milestone .year { font-size: 18px; }

  /* About 2-kolom jadi 1-kolom di mobile */
  .about-intro-section { padding: 20px 0 60px; }
  .about-hero-text { padding-left: 0; margin-top: 32px; }
  .about-hero-image { margin-bottom: 0; }

  .services-section { padding-bottom: 60px; }
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { padding: 16px 0; }
}

@media (max-width: 575px) {
  .hero-section { height: 70vh; min-height: 420px; }
  .hero-section .slide-content h2 { font-size: 20px; }
  .hero-section .slide-content .desc { font-size: 14px; }
  .hero-section .swiper-pagination { bottom: 24px !important; }

  .portfolio-grid .item { padding: 4px; }
  .portfolio-single .project-title { font-size: 24px; }

  .page-title { padding: 80px 0 24px; }
  .page-title h1 { font-size: 26px; }
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-msg {
  position: fixed; bottom: 24px; right: 24px; z-index: 999999;
  padding: 16px 24px; border-radius: 4px; font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); animation: slideUp 0.3s ease;
}
.flash-msg.success { background: #059669; color: #fff; }
.flash-msg.error { background: #DC2626; color: #fff; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BYMANDA ECOSYSTEM & PRICING COMPONENTS
   ============================================================ */
.eco-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  border-radius: 4px;
  transition: all 0.35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eco-box:hover {
  border-color: #111;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.eco-box .unit-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.eco-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.eco-box p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}
.eco-box .unit-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.eco-box .price-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.eco-box .price-badge span {
  color: var(--accent);
}

/* Pricing Card Component */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 36px 26px;
  border-radius: 8px;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.35s var(--ease);
}
.pricing-card.featured {
  border: 2px solid #111;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}
.pricing-card .p-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.pricing-card .p-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.pricing-card .p-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.pricing-card .p-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 10px;
}
.pricing-card .p-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card ul.p-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}
.pricing-card ul.p-features li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-card ul.p-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Stat Box */
.stat-box {
  padding: 24px 16px;
  text-align: center;
}
.stat-box .number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1;
}
.stat-box .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonial Quote Card */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  border-radius: 4px;
  margin-bottom: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.testi-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: #111;
}
.testi-card .stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 14px;
}
.testi-card p.quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.testi-card .author-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.testi-card .author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}
.testi-card .author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   CRM LEAD CAPTURE MODAL & FLOATING WA BUTTON
   ============================================================ */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lead-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.94) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.lead-modal-overlay.active .lead-modal-card {
  transform: scale(1) translateY(0);
}
.lead-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.lead-modal-close:hover {
  background: #f4f4f4;
  color: #111;
}
.lead-modal-header {
  margin-bottom: 24px;
}
.lead-modal-header .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.lead-modal-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #111;
  line-height: 1.3;
  margin-bottom: 6px;
}
.lead-modal-header p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.lead-form-group {
  margin-bottom: 18px;
}
.lead-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}
.lead-form-group label span.req {
  color: #e11d48;
}
.lead-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form-control:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.lead-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}
.btn-lead-submit {
  width: 100%;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(153, 102, 0, 0.28);
}
.btn-lead-submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(153, 102, 0, 0.38);
}
.btn-lead-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal Success State */
.lead-success-state {
  text-align: center;
  padding: 10px 4px 6px;
  animation: fadeInModal 0.4s ease forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead-success-icon {
  width: 64px;
  height: 64px;
  background: #fbf5ee;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.lead-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lead-success-state h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: #111;
  margin-bottom: 8px;
}
.lead-success-state p.main-msg {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.lead-summary-card {
  background: #faf8f5;
  border: 1px solid #ebd9c8;
  border-radius: 6px;
  padding: 16px 18px;
  text-align: left;
  margin-bottom: 20px;
  font-size: 13px;
}
.lead-summary-card .row-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed #e8d7c4;
}
.lead-summary-card .row-item:last-child {
  border-bottom: none;
}
.lead-summary-card .label {
  color: #777;
  font-weight: 500;
}
.lead-summary-card .value {
  color: #222;
  font-weight: 700;
}
.lead-success-note {
  font-size: 13px;
  color: #666;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 10px 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.lead-success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating WhatsApp Button (Bottom Left Circular Icon) */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: var(--accent, #8c6239);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(140, 98, 57, 0.35);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  padding: 0;
}
.floating-wa-btn:hover {
  background: #734f2b;
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(140, 98, 57, 0.45);
}
.floating-wa-btn svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
@media (max-width: 767px) {
  .floating-wa-btn {
    bottom: 20px;
    left: 18px;
    width: 42px;
    height: 42px;
  }
  .floating-wa-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   AI CHATBOT WIDGET (FLOATING BUTTON & EXPANDABLE WINDOW)
   ============================================================ */
.floating-chatbot-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #111827;
  color: #ffffff;
  padding: 8px 18px 8px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.floating-chatbot-btn:hover {
  background: #1f2937;
  color: #ffffff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.floating-chatbot-btn.open {
  background: #0f172a;
}
.ai-btn-icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.ai-btn-icon-wrap .ai-icon-open {
  width: 18px;
  height: 18px;
}
.ai-btn-icon-wrap .ai-icon-sparkle {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  color: #fde047;
  animation: pulseSparkle 2s infinite ease-in-out;
}
@keyframes pulseSparkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}
.ai-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #111827;
}
.ai-btn-label {
  letter-spacing: 0.2px;
}

/* Chatbot Modal Window */
.chatbot-window {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 36px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  z-index: 99999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chatbot Header */
.chatbot-header {
  background: #111827;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chatbot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.chatbot-avatar svg {
  width: 20px;
  height: 20px;
}
.chatbot-meta h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chatbot-meta .ai-badge {
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}
.chatbot-meta p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chatbot-meta .online-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}
.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cb-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s;
  padding: 0;
}
.cb-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Chatbot Body & Messages */
.chatbot-body {
  flex: 1;
  padding: 16px 14px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.chatbot-body::-webkit-scrollbar {
  width: 5px;
}
.chatbot-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 90%;
  animation: fadeInMsg 0.25s ease-out;
}
@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.bot-msg {
  align-self: flex-start;
}
.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 84%;
}
.msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.msg-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  position: relative;
  word-break: break-word;
}
.bot-msg .msg-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.user-msg .msg-bubble {
  background: #111827;
  color: #ffffff;
  border-top-right-radius: 2px;
}
.msg-bubble p {
  margin: 0;
}
.msg-bubble p + p {
  margin-top: 6px;
}
.msg-bubble strong {
  font-weight: 700;
  color: inherit;
}
.msg-time {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 4px;
  text-align: right;
}
.user-msg .msg-time {
  color: rgba(255, 255, 255, 0.6);
}

/* Quick Prompts */
.quick-prompts-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.quick-prompt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}
.quick-prompt-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-prompt-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.quick-prompt-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Typing Indicator & Typewriter Cursor */
.typing-bubble {
  padding: 10px 14px;
}
.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: cbTyping 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes cbTyping {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.typing-cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 700;
  color: #2563eb;
  animation: cbBlinkCursor 0.8s infinite;
}
@keyframes cbBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Chatbot Footer */
.chatbot-footer {
  padding: 10px 12px 8px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.cb-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3px 5px 3px 12px;
  transition: border-color 0.2s;
}
.cb-input-group:focus-within {
  border-color: #3b82f6;
  background: #ffffff;
}
.cb-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 12.5px;
  color: #1e293b;
  padding: 6px 0;
  font-family: inherit;
}
.cb-input-group button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
  padding: 0;
}
.cb-input-group button:hover {
  background: #2563eb;
  transform: scale(1.05);
}
.cb-footer-note {
  text-align: center;
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 6px;
}
.cb-footer-note a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.cb-footer-note a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .floating-chatbot-btn {
    bottom: 20px;
    right: 18px;
    padding: 6px 14px 6px 8px;
    font-size: 12.5px;
  }
  .ai-btn-icon-wrap {
    width: 30px;
    height: 30px;
  }
  .ai-btn-icon-wrap .ai-icon-open {
    width: 16px;
    height: 16px;
  }
  .chatbot-window {
    bottom: 80px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    height: calc(100vh - 120px);
    max-height: 520px;
  }
}

/* ============================================================
   LEGAL MODAL POPUP (TERMS & CONDITIONS & PRIVACY POLICY)
   ============================================================ */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.legal-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.legal-modal-container {
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.legal-modal-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-modal-backdrop.active .legal-modal-card {
  transform: scale(1) translateY(0);
}
.legal-modal-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  flex-shrink: 0;
}
.legal-modal-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent, #8c6239);
  margin-bottom: 4px;
}
.legal-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.legal-modal-date {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.legal-modal-close {
  background: #f1f5f9;
  border: none;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
  flex-shrink: 0;
}
.legal-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}
.legal-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}
.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.legal-rendered-content h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 22px 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}
.legal-rendered-content h3:first-child {
  margin-top: 0;
}
.legal-rendered-content p {
  margin: 0 0 12px;
}
.legal-rendered-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-rendered-content li {
  margin-bottom: 8px;
}
.legal-rendered-content strong {
  color: #0f172a;
}
.legal-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.legal-modal-footer-info {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.legal-wa-link {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}
.legal-wa-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .legal-modal-backdrop {
    padding: 12px;
  }
  .legal-modal-header {
    padding: 18px 20px 14px;
  }
  .legal-modal-title {
    font-size: 17px;
  }
  .legal-modal-body {
    padding: 18px 20px;
    font-size: 13.5px;
  }
  .legal-modal-footer {
    padding: 14px 20px;
  }
}

/* ============================================================
   HIGH-PERFORMANCE & MOBILE OPTIMIZATION ENGINE
   ============================================================ */
.portfolio-grid .item,
.blog-grid .blog-card,
.testi-card,
.service-card,
.strategy-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

button, a.btn, .filter-bar button, .blog-filter button, .lang-btn, .mobile-lang-btn, .lead-modal-close, #scrollTop, .floating-wa-btn {
  touch-action: manipulation;
}

@media (max-width: 480px) {
  .container-fluid {
    padding: 0 16px !important;
  }
  .container {
    padding: 0 16px !important;
  }
  .hero-section .slide-content h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  .hero-section .slide-content .desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  .hero-section {
    min-height: 440px !important;
    height: 75vh !important;
  }
  .filter-bar, .blog-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar, .blog-filter::-webkit-scrollbar {
    display: none;
  }
  .filter-bar button, .blog-filter button {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .floating-wa-btn {
    bottom: 20px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .table-responsive-custom {
    margin: 0 -8px;
    padding: 0 8px;
  }
  .flow-pill-badge {
    max-width: 100% !important;
  }
}