/* ═══════════════════════════════════════════════════════════
   SWA Digital Solusindo — Multi-Page Red Theme CSS
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --red:        #E52E2E;
  --red-dark:   #C51E1E;
  --red-light:  #FFF1F2;
  --red-mid:    #FEE2E2;
  --red-border: #FECDD3;
  --red-shadow: rgba(229, 46, 46, 0.25);

  --blue:       var(--red);
  --blue-dark:  var(--red-dark);
  --blue-light: var(--red-light);
  --blue-mid:   var(--red-mid);

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.03);
  --shadow-xl: 0 20px 40px rgba(0,0,0,.1);
  --shadow-red: 0 8px 24px var(--red-shadow);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-d: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --t: .2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4,h5 { font-family: var(--font-d); font-weight: 700; line-height: 1.25; color: var(--gray-900); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: var(--r-sm); cursor: pointer; transition: all var(--t); white-space: nowrap; font-family: var(--font); }
.btn--sm  { padding: 8px 18px; font-size: 13px; }
.btn--md  { padding: 11px 24px; font-size: 14px; }
.btn--lg  { padding: 14px 32px; font-size: 15px; }

.btn--red, .btn--blue { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn--red:hover, .btn--blue:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(229, 46, 46, 0.38); }

.btn--dark { background: #1F2937; color: var(--white); }
.btn--dark:hover { background: #111827; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17,24,39,0.25); }

.btn--accent-blue { background: #2563EB; color: var(--white); }
.btn--accent-blue:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }

.btn--outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn--outline:hover { background: var(--red-light); border-color: var(--red-dark); color: var(--red-dark); }

.btn--white { background: var(--white); color: var(--red); font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.btn--white:hover { background: var(--red-light); transform: translateY(-1px); }

.btn--ghost { background: rgba(255,255,255,.14); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.24); }

/* ── BADGE / LABEL ── */
.label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.label--red, .label--blue { background: var(--red-light); color: var(--red); border: 1px solid var(--red-border); }
.label--gray { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--gray-200); transition: box-shadow var(--t); }
.navbar.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo { display: flex; align-items: center; gap: 8px; }
.brand-logo-img { height: 36px; width: auto; display: block; object-fit: contain; }
.brand-name { font-family: var(--font-d); font-size: 18px; font-weight: 800; color: var(--gray-900); letter-spacing: -.01em; }
.brand-name span { color: var(--red); }
.navbar__nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--gray-600); border-radius: var(--r-sm); transition: all var(--t); }
.nav-link:hover, .nav-link.active { color: var(--red); background: var(--red-light); font-weight: 600; }
.navbar__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--t); }
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAVBAR TRANSPARENT ON CINEMATIC HERO ── */
/* ── NAVBAR TRANSPARENT ON CINEMATIC HERO ── */
.navbar--home {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.navbar--home .brand-name { color: #FFFFFF; }
.navbar--home .nav-link { color: rgba(255, 255, 255, 0.88); }
.navbar--home .nav-link:hover, .navbar--home .nav-link.active {
  color: #FFFFFF;
  background: rgba(229, 46, 46, 0.35);
}
.navbar--home .navbar__toggle span { background: #FFFFFF; }

.navbar--home.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--gray-200) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
.navbar--home.scrolled .brand-name { color: var(--gray-900); }
.navbar--home.scrolled .nav-link { color: var(--gray-600); }
.navbar--home.scrolled .nav-link:hover, .navbar--home.scrolled .nav-link.active {
  color: var(--red);
  background: var(--red-light);
}
.navbar--home.scrolled .navbar__toggle span { background: var(--gray-700); }

/* ── HERO CINEMATIC (VIDEO / FOTO BISA DIGANTI VIA CMS) ── */
.hero-cinematic {
  position: relative;
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  padding: 180px 0 150px;
  overflow: hidden;
  text-align: center;
}
.hero-cinematic__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-cinematic__video, .hero-cinematic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-cinematic__yt-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-cinematic__yt-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.hero-cinematic__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 8, 9, 0.45) 0%, rgba(15, 8, 9, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-cinematic__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}
.hero-cinematic__pre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--r-full);
  background: rgba(229, 46, 46, 0.22);
  border: 1px solid rgba(229, 46, 46, 0.45);
  color: #FECDD3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-cinematic__title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 0 auto 20px;
  max-width: 920px;
  letter-spacing: -.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero-cinematic__title span {
  color: #FF4D4D;
  text-shadow: 0 0 35px rgba(229, 46, 46, 0.5);
}
.hero-cinematic__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-cinematic__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── DOCKED SOLUTION FINDER BAR (SEPERTI REFERENSI GAMBAR) ── */
.docked-bar-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -51px;
  margin-bottom: 45px;
}
.docked-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}
.dock-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--gray-200);
  padding-right: 16px;
}
.dock-col:last-of-type {
  border-right: none;
}
.dock-col__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dock-col__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}
.dock-col__sub {
  font-size: 12px;
  color: var(--gray-500);
}
@media(max-width:1024px){
  .hero-cinematic { min-height: 85vh; padding: 140px 0 110px; }
  .docked-bar-wrapper { margin-top: -70px; margin-bottom: 35px; }
  .docked-bar { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
  .dock-col { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 12px; }
  .dock-action { grid-column: span 2; }
}
@media(max-width:640px){
  .hero-cinematic { min-height: 80vh; padding: 120px 0 80px; }
  .docked-bar-wrapper { margin-top: -50px; margin-bottom: 24px; }
  .docked-bar { grid-template-columns: 1fr; }
  .dock-action { grid-column: span 1; }
}

/* ── PAGE HERO (Clean, Light, Elegant) ── */
.page-hero {
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
  padding: 125px 0 54px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(229, 46, 46, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.page-hero__breadcrumb a {
  color: var(--gray-500);
  transition: color var(--t);
}
.page-hero__breadcrumb a:hover {
  color: var(--red);
}
.page-hero__breadcrumb span {
  color: var(--gray-300);
}
.page-hero__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.page-hero__title span {
  color: var(--red);
}
.page-hero__desc {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.page-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.page-hero__tag:hover {
  border-color: var(--red-border);
  transform: translateY(-1px);
}

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }

.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head--left { text-align: left; max-width: 100%; margin-bottom: 24px; }
.sec-head__pre { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; justify-content: center; }
.sec-head--left .sec-head__pre { justify-content: flex-start; }
.sec-head--left .sec-head__pre::before { content: ''; display: block; width: 20px; height: 2px; background: var(--red); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-desc { font-size: 16px; color: var(--gray-500); line-height: 1.75; }

/* ── PROJECT CARDS GRID (RentDrive Style) ── */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--t); display: flex; flex-direction: column; cursor: pointer; }
.project-card:hover { border-color: var(--red-border); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card__thumb {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}
.project-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card__thumb img {
  transform: scale(1.06);
}
.project-card__badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); border: 1px solid var(--red-border); }
.project-card__icon { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--white); color: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.project-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-card__client { font-size: 12px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.project-card__title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; line-height: 1.4; flex: 1; }
.project-card__footer { padding-top: 16px; border-top: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.project-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--red); transition: gap var(--t); background: none; border: none; padding: 0; cursor: pointer; text-decoration: none; font-family: inherit; }
.project-card__link:hover { gap: 10px; color: var(--red-dark); }

/* ── 4 ERP SERVICE CARDS ── */
.services-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.erp-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); padding: 36px 32px; transition: all var(--t); position: relative; display: flex; flex-direction: column; }
.erp-card:hover { border-color: var(--red-border); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.erp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), #F87171); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.erp-card:hover::before { transform: scaleX(1); }
.erp-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.erp-card__icon { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.erp-card__icon--logo { background: #FFFFFF !important; border: 1px solid var(--gray-200); padding: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); overflow: hidden; }
.erp-card__logo-img { width: 100%; height: 100%; object-fit: contain; }
.erp-card__title { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.erp-card__subtitle { font-size: 12px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.erp-card__desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.erp-card__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.erp-card__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); font-weight: 500; }
.erp-card__list svg { color: var(--red); flex-shrink: 0; }

/* ── ABOUT PAGE ESSAY & CARDS ── */
.about-essay { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); padding: 48px; box-shadow: var(--shadow-sm); margin-bottom: 48px; }
.about-essay p { font-size: 16px; color: var(--gray-600); line-height: 1.85; margin-bottom: 20px; }
.about-essay p:last-child { margin-bottom: 0; }
.about-quote-box { background: var(--red-light); border-left: 4px solid var(--red); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 24px 28px; margin: 28px 0; }
.about-quote-box h4 { font-size: 18px; color: var(--red-dark); margin-bottom: 6px; }
.about-quote-box p { font-size: 15px; color: var(--gray-700); margin: 0; font-weight: 500; }

/* ── CONTACT PAGE (Exact Match to User Uploaded Image) ── */
.contact-hero { text-align: center; padding: 120px 0 50px; background: var(--white); }
.contact-hero .label { margin-bottom: 16px; }
.contact-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -.02em; }
.contact-hero h1 span { color: var(--red); }
.contact-hero p { font-size: 17px; color: var(--gray-500); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.contact-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; margin-bottom: 64px; }
.contact-action-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); padding: 36px 28px; text-align: left; box-shadow: var(--shadow-sm); transition: all var(--t); display: flex; flex-direction: column; }
.contact-action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Center Card (Featured red glow like in screenshot) */
.contact-action-card--featured {
  border-color: var(--red-border);
  box-shadow: 0 12px 32px rgba(229, 46, 46, 0.12);
  transform: translateY(-4px);
}
.contact-action-card--featured:hover {
  box-shadow: 0 18px 40px rgba(229, 46, 46, 0.2);
}

.c-icon-box { width: 50px; height: 50px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--white); }
.c-icon-box--dark { background: #1F2937; }
.c-icon-box--red  { background: var(--red); box-shadow: 0 6px 16px rgba(229, 46, 46, 0.35); }
.c-icon-box--blue { background: #2563EB; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3); }

.contact-action-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.contact-action-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; flex: 1; }

/* ── FORM & OFFICE SECTION ── */
.contact-details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-form-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
  font: 14px var(--font); color: var(--gray-800); background: var(--white); outline: none; transition: border-color var(--t);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 46, 46, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.office-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; }
.office-card h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.office-card h4 svg { color: var(--red); }
.office-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.office-card a { color: var(--red); font-weight: 600; }

/* ── FLOATING WHATSAPP BUTTON ── */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--t);
}
.floating-wa:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

/* ── PROCESS STEPS ── */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 30px; left: calc(10% + 30px); right: calc(10% + 30px); height: 2px; background: linear-gradient(90deg, var(--red), #F87171); z-index: 0; }
.proc-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.proc-step__num { width: 60px; height: 60px; background: var(--red); border: 3px solid var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 16px; box-shadow: 0 0 0 4px var(--red-mid), var(--shadow-md); transition: all var(--t); }
.proc-step:hover .proc-step__num { background: var(--red-dark); transform: scale(1.08); box-shadow: 0 0 0 6px var(--red-border), var(--shadow-lg); }
.proc-step__title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.proc-step__desc { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.testi-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 32px; transition: all var(--t); position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.testi-card:hover { border-color: var(--red-border); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-card__quote { position: absolute; top: 18px; right: 26px; font-size: 58px; line-height: 1; font-family: Georgia, serif; color: var(--red); opacity: .28; font-weight: 800; pointer-events: none; }
.testi-card__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.testi-card__badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-light); padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; width: fit-content; }
.testi-card__text { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; font-style: italic; flex-grow: 1; }
.testi-card__author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--gray-100); }
.author-av { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--white); flex-shrink: 0; background: linear-gradient(135deg, #E52E2E, #F87171); overflow: hidden; border: 2px solid #FEE2E2; box-shadow: 0 2px 8px rgba(229, 46, 46, 0.12); }
.author-av img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.author-name { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.35; }
.author-role { font-size: 12px; color: var(--gray-500); margin-top: 2px; line-height: 1.4; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, #E52E2E 0%, #DC2626 50%, #B91C1C 100%); border-radius: var(--r-xl); padding: 56px 48px; text-align: center; box-shadow: 0 16px 36px rgba(229, 46, 46, 0.28); }
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); color: var(--white); margin-bottom: 12px; letter-spacing: -.01em; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.cta-banner__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── FOOTER ── */
.footer { background: #150B0C; border-top: 1px solid rgba(229, 46, 46, 0.2); }
.footer__top { padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__brand .brand-name { color: var(--white); font-size: 16px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin: 10px 0 18px; }
.footer__social { display: flex; gap: 8px; }
.soc-btn { width: 36px; height: 36px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--t); }
.soc-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: 0 4px 12px rgba(229, 46, 46, 0.35); }
.footer__col h5 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer__col a:hover { color: var(--white); }
.footer__contact-item { display: flex; gap: 10px; margin-bottom: 10px; }
.footer__contact-item svg { stroke: rgba(255,255,255,.4); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item span, .footer__contact-item a { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; transition: color var(--t); }
.footer__contact-item a:hover { color: #FCA5A5; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }
.footer__bottom strong { color: rgba(255,255,255,.7); }
.footer__bottom-links { display: flex; align-items: center; gap: 18px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer__admin-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); transition: all var(--t); }
.footer__admin-link svg { stroke: rgba(255,255,255,.45); transition: stroke var(--t); }
.footer__admin-link:hover { color: #F87171; border-color: rgba(229,46,46,.4); background: rgba(229,46,46,.08); }
.footer__admin-link:hover svg { stroke: #F87171; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .hero-home__inner { grid-template-columns: 1fr; text-align: center; }
  .hero-home__pre { justify-content: center; }
  .hero-home__actions { justify-content: center; }
  .hero-home__stats { margin: 0 auto; }
  .hero-home__visual { display: none; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .services-4 { grid-template-columns: 1fr; }
  .contact-cards-3 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .contact-details-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px){
  .section { padding: 64px 0; }
  .navbar__nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px 24px; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); }
  .navbar__nav.open { display: flex; }
  .navbar__toggle { display: flex; }
  .project-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .about-essay { padding: 24px; }
}

/* ── BLOG SECTION ── */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); overflow: hidden; transition: all var(--t); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-border); }
.blog-card--featured { border: 2px solid var(--red-border); box-shadow: 0 12px 32px rgba(229, 46, 46, 0.12); }
.blog-card__category { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 6px 14px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r-full); box-shadow: var(--shadow-md); }
.blog-card__thumb { position: relative; height: 280px; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-500); margin-bottom: 14px; flex-wrap: wrap; }
.blog-card__title { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; line-height: 1.3; }
.blog-card h3.blog-card__title { font-size: 20px; }
.blog-card__excerpt { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.blog-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.blog-tag { padding: 4px 12px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--r-sm); font-size: 12px; color: var(--gray-600); font-weight: 600; transition: all var(--t); }
.blog-tag:hover { background: var(--red-light); color: var(--red); border-color: var(--red-border); }


/* ── BERAGAM INDUSTRI (Matching User Image media_1790061884341.png) ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.industry-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 10px 28px rgba(229, 46, 46, 0.12);
  transform: translateY(-4px);
}
.industry-card__thumb {
  height: 140px;
  width: 100%;
  overflow: hidden;
  background: var(--gray-100);
}
.industry-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.industry-card:hover .industry-card__thumb img {
  transform: scale(1.08);
}
.industry-card__body {
  padding: 14px 14px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.industry-card__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.industry-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFF1F2;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-card__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}
.industry-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #FECDD3;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.industry-card:hover .industry-card__arrow {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateX(2px);
}

@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .industry-card__thumb {
    height: 120px;
  }
}

@media(max-width:768px){ .hide-mobile { display: none; } }

/* ═══════════════════════════════════════════════════════════
   RICHZ READY ECOSYSTEM (media_1790063053210.png)
   ═══════════════════════════════════════════════════════════ */
.richz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.richz-card {
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.richz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

/* Card variants */
.richz-card--pos {
  background: #FEF2F2;
  border: 1px solid #FECDD3;
}
.richz-card--pos .richz-card__icon {
  background: #EF4444;
}
.richz-card--pos .richz-title-accent {
  color: #EF4444;
}

.richz-card--store {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}
.richz-card--store .richz-card__icon {
  background: #2563EB;
}
.richz-card--store .richz-title-accent {
  color: #2563EB;
}

.richz-card--fnb {
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
}
.richz-card--fnb .richz-card__icon {
  background: #F97316;
}
.richz-card--fnb .richz-title-accent {
  color: #F97316;
}

.richz-card--spot {
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
}
.richz-card--spot .richz-card__icon {
  background: #10B981;
}
.richz-card--spot .richz-title-accent {
  color: #10B981;
}
.richz-card--spot .richz-card__media {
  background: #F1F5F9;
}
.richz-card--spot .richz-card__media img {
  object-position: top center;
}

.richz-card__media {
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
}
.richz-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.richz-card:hover .richz-card__media img {
  transform: scale(1.05);
}

.richz-card__content {
  padding: 16px 8px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.richz-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.richz-card__icon--logo {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px;
}
.richz-card__icon--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.richz-card__text h4 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.richz-card__text p {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .richz-grid { grid-template-columns: repeat(2, 1fr); }
  .richz-card__media { height: 340px; }
}
@media (max-width: 600px) {
  .richz-grid { grid-template-columns: 1fr; }
  .richz-card__media { height: 330px; }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM DIGITAL SOLUTION (media_1790063081946.png)
   ═══════════════════════════════════════════════════════════ */
.custom-sol-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.custom-sol-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 52px;
  align-items: center;
}
.custom-sol-info__pre {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.custom-sol-info__title {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.custom-sol-info__title span {
  color: var(--red);
}
.custom-sol-info__desc {
  font-size: 16.5px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Visual with floating badges */
.custom-sol-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  background: var(--white);
}
.custom-sol-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.custom-sol-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  z-index: 10;
  transition: transform var(--t);
}
.custom-sol-badge:hover {
  transform: translateY(-2px);
}
.custom-sol-badge__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #FFF1F2;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-sol-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.custom-sol-badge__text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gray-900);
}
.custom-sol-badge__text span {
  font-size: 11px;
  color: var(--gray-600);
}

.custom-sol-badge--1 { top: 22px; left: 22px; }
.custom-sol-badge--2 { top: 22px; right: 22px; }
.custom-sol-badge--3 { bottom: 24px; left: 22px; }
.custom-sol-badge--4 { bottom: 24px; right: 22px; }

.custom-sol-tagline {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  text-align: right;
  pointer-events: none;
  z-index: 8;
}
.custom-sol-tagline span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  display: block;
}

@media (max-width: 1024px) {
  .custom-sol-grid { grid-template-columns: 1fr; gap: 40px; }
  .custom-sol-img { height: 380px; }
}
@media (max-width: 640px) {
  .custom-sol-badge { padding: 6px 10px; }
  .custom-sol-badge__text strong { font-size: 11px; }
  .custom-sol-badge__text span { font-size: 9.5px; }
  .custom-sol-badge--1 { top: 12px; left: 12px; }
  .custom-sol-badge--2 { top: 12px; right: 12px; }
  .custom-sol-badge--3 { bottom: 12px; left: 12px; }
  .custom-sol-badge--4 { bottom: 12px; right: 12px; }
  .custom-sol-img { height: 300px; }
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO: MOBILE APPS GRID (media_1790235270540.png)
   ═══════════════════════════════════════════════════════════ */
.mobile-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mobile-project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  position: relative;
}
.mobile-project-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  transform: translateY(-6px);
}
.mobile-project-card__media {
  width: 100%;
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
  margin-bottom: 14px;
}
.mobile-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.mobile-project-card:hover .mobile-project-card__media img {
  transform: scale(1.04);
}
.mobile-project-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--red);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--red-border);
  z-index: 2;
}
.mobile-project-card__body {
  padding: 4px 6px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-project-card__client-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mobile-project-card__logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 2px;
  flex-shrink: 0;
}
.mobile-project-card__client {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mobile-project-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.35;
  flex: 1;
}
.mobile-project-card__footer {
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-project-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  transition: gap var(--t);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.mobile-project-card:hover .mobile-project-card__btn {
  gap: 10px;
  color: var(--red-dark);
}

@media (max-width: 900px) {
  .mobile-project-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-project-card__media { height: 340px; }
}
@media (max-width: 600px) {
  .mobile-project-grid { grid-template-columns: 1fr; }
  .mobile-project-card__media { height: 320px; }
}

/* ═══════════════════════════════════════════════════════════
   INTERACTIVE PROJECT DETAIL MODAL
   ═══════════════════════════════════════════════════════════ */
.proj-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.proj-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.proj-modal {
  background: var(--white);
  border-radius: 28px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gray-200);
  transform: scale(0.92) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.proj-modal-overlay.open .proj-modal {
  transform: scale(1) translateY(0);
}
.proj-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.proj-modal__close:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: rotate(90deg);
}
.proj-modal__body-scroll {
  overflow-y: auto;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .proj-modal__body-scroll {
    grid-template-columns: 360px 1fr;
  }
}
.proj-modal__preview {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  position: relative;
}
.proj-modal__preview img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}
.proj-modal__content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.proj-modal__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  background: #FFF1F1;
  color: var(--red);
  border: 1px solid var(--red-border);
  align-self: flex-start;
  margin-bottom: 12px;
}
.proj-modal__client {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.proj-modal__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}
.proj-modal__desc {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 22px;
}
.proj-modal__features-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-800);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proj-modal__features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-modal__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.45;
}
.proj-modal__feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.proj-modal__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .proj-modal__preview {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 16px;
  }
  .proj-modal__content {
    padding: 24px 20px;
  }
  .proj-modal__preview img {
    max-height: 300px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SWA GALLERY & LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font);
}
.gallery-filter-btn:hover {
  color: var(--red);
  border-color: var(--red-border);
  background: var(--red-light);
}
.gallery-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px var(--red-shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: var(--shadow-lg);
}

.gallery-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  overflow: hidden;
}
.gallery-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-card__thumb img {
  transform: scale(1.05);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__view-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--gray-900);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.gallery-card:hover .gallery-card__view-btn {
  transform: translateY(0);
}

.gallery-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(229, 46, 46, 0.2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.gallery-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.gallery-card__client {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.gallery-card__client svg {
  color: var(--red);
}
.gallery-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color var(--t);
}
.gallery-card:hover .gallery-card__title {
  color: var(--red);
}
.gallery-card__desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.gallery-card__footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
}
.gallery-card__footer svg {
  transition: transform var(--t);
}
.gallery-card:hover .gallery-card__footer svg {
  transform: translate(2px, -2px);
}

/* ── GALLERY LIGHTBOX MODAL ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.gallery-lightbox.open .gallery-lightbox__dialog {
  transform: scale(1);
}

.gallery-lightbox__header {
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
}
.gallery-lightbox__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.gallery-lightbox__category {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--red-border);
  padding: 3px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.gallery-lightbox__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-lightbox__header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.gallery-lightbox__counter {
  font-family: monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}
.gallery-lightbox__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
}
.gallery-lightbox__close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.gallery-lightbox__preview {
  position: relative;
  flex: 1;
  background: #0B0F19;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 64vh;
  overflow: hidden;
  user-select: none;
}
.gallery-lightbox__preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-lightbox__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  z-index: 5;
}
.gallery-lightbox__nav-btn:hover {
  background: rgba(229, 46, 46, 0.9);
  transform: translateY(-50%) scale(1.08);
}
.gallery-lightbox__nav-btn--prev { left: 16px; }
.gallery-lightbox__nav-btn--next { right: 16px; }

.gallery-lightbox__footer {
  padding: 18px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 640px) {
  .gallery-lightbox__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 18px;
  }
}
.gallery-lightbox__desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 660px;
}
.gallery-lightbox__cta {
  flex-shrink: 0;
}

