/* ==========================================================================
   SOFINT SOLUTIONS - PREMIUM CREATIVE DESIGN STUDIO
   Clean, Serene ("Sukoon"), Spacious & Freelancer.com Policy-Compliant Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Clean, White & Peaceful Neutral Palette */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-surface-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.90);
  
  /* Borders */
  --border-subtle: #e2e8f0;
  --border-card: #eaedf2;
  --border-focus: #4f46e5;
  --border-highlight: #c7d2fe;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Refined Studio Brand Accents */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #2563eb 100%);
  --accent-purple: #7c3aed;
  --accent-emerald: #10b981;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Shadows (Soft, Peaceful, Non-harsh) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.09), 0 8px 16px -4px rgba(15, 23, 42, 0.03);
  --shadow-drawer: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
  --shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, 0.25);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle, Serene Ambient Background (Soft warm white mesh) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(124, 58, 237, 0.03) 0px, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Main Container: Generous Spacing ("Khulli Khulli") */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR (Frosted Clean White)
   ========================================================================== */
.sofint-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  background: var(--primary-light);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-item-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-item-link:hover {
  color: var(--text-main);
  background: var(--bg-surface-subtle);
}

.nav-item-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   HERO SECTION (Spacious, Serene & Calming)
   ========================================================================== */
.hero-section {
  padding: 70px 0 40px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
  color: var(--text-main);
}

.hero-title-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  max-width: 780px;
  margin: 0 auto 36px auto;
  font-size: 1.14rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

/* Hero Action Buttons */
.hero-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.25);
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-highlight);
  color: var(--primary);
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 45px auto;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  max-width: fit-content;
  box-shadow: var(--shadow-sm);
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-main);
  background: var(--bg-surface-subtle);
}

.filter-tab.active {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.filter-count {
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.filter-tab.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Stats Banner: Serene White Glass Cards */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-top: 6px;
}

/* ==========================================================================
   GALLERY CONTROLS & HEADER
   ========================================================================== */
.gallery-section {
  padding-bottom: 90px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.gallery-title-wrap p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.gallery-controls-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Search Input */
.gallery-search-wrap {
  position: relative;
  min-width: 280px;
}

.gallery-search-input {
  width: 100%;
  padding: 11px 18px 11px 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.gallery-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.gallery-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Grid Layout Switcher (Spacious vs Compact) */
.grid-view-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  box-shadow: var(--shadow-xs);
}

.view-switch-btn {
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.view-switch-btn:hover {
  color: var(--text-main);
}

.view-switch-btn.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   MODERN GALLERY GRID ("Khulli Khulli" & Peaceful Cards)
   ========================================================================== */
.modern-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  transition: all 0.3s ease;
}

.modern-gallery-grid.grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.modern-gallery-grid.grid-spacious {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 36px;
}

.gallery-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
}

.gallery-card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 73%;
  overflow: hidden;
  background: #f1f5f9;
}

.gallery-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

/* Card Heart / Shortlist Button */
.card-heart-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.card-heart-btn:hover {
  transform: scale(1.12);
  color: var(--accent-rose);
  background: #ffffff;
}

.card-heart-btn.shortlisted {
  color: var(--accent-rose);
  background: #ffffff;
  border-color: #fecdd3;
}

.card-heart-btn.shortlisted svg {
  fill: var(--accent-rose);
}

/* Clean Hover Overlay */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.05) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: opacity 0.28s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.card-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.card-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.card-overlay-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.card-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.card-btn-preview {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.card-btn-preview:hover {
  background: rgba(255, 255, 255, 0.35);
}

.card-btn-inquire {
  background: var(--primary);
  color: #ffffff;
}

.card-btn-inquire:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Card Bottom Info Bar */
.gallery-card-info {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
}

.card-info-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.card-action-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-quick-inquire-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-quick-inquire-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.card-zoom-icon {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gallery-card:hover .card-zoom-icon {
  color: var(--primary);
  transform: scale(1.15);
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL
   ========================================================================== */
.sofint-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-direction: column;
}

.sofint-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-topbar {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

.lightbox-btn-inquire {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.lightbox-btn-inquire:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.lightbox-btn-close {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.lightbox-btn-close:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #ffffff;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px 90px;
  overflow: hidden;
}

.lightbox-img-wrapper {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-main-img {
  max-width: 86vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  user-select: none;
  transition: transform 0.25s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: var(--text-main);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-btn-prev { left: 24px; }
.lightbox-btn-next { right: 24px; }

/* ==========================================================================
   SHORTLIST / FAVORITES DRAWER (Freelancer.com Friendly)
   ========================================================================== */
.floating-shortlist-badge {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text-main);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-drawer);
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 999;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.floating-shortlist-badge.show {
  display: flex;
}

.floating-shortlist-badge:hover {
  transform: translateY(-3px) scale(1.02);
  background: #000000;
}

.shortlist-count-pill {
  background: var(--accent-rose);
  color: #ffffff;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

/* Shortlist Slide-Over Panel */
.shortlist-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.shortlist-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.shortlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  box-shadow: var(--shadow-modal);
  z-index: 100001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.shortlist-drawer.active {
  transform: translateX(0);
}

.shortlist-drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shortlist-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shortlist-drawer-close {
  background: var(--bg-surface-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.shortlist-drawer-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.shortlist-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shortlist-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.shortlist-empty-state svg {
  color: var(--text-dim);
  margin-bottom: 16px;
}

.shortlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: all 0.2s ease;
}

.shortlist-item:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-subtle);
}

.shortlist-item-thumb {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
}

.shortlist-item-meta {
  flex: 1;
  min-width: 0;
}

.shortlist-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shortlist-item-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.shortlist-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.shortlist-item-remove:hover {
  color: var(--accent-rose);
  background: #fee2e2;
}

.shortlist-drawer-footer {
  padding: 22px 28px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-shortlist-copy {
  width: 100%;
  padding: 13px 20px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-shortlist-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

.btn-shortlist-inquire {
  width: 100%;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-shortlist-inquire:hover {
  background: var(--bg-body);
  border-color: var(--border-highlight);
  color: var(--primary);
}

.discreet-contact-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.discreet-chat-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.2s ease;
}

.discreet-chat-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   CLEAN PROJECT INQUIRY MODAL
   ========================================================================== */
.inquiry-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 100002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.inquiry-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.inquiry-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal-backdrop.active .inquiry-modal-card {
  transform: scale(1);
}

.inquiry-modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
}

.inquiry-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.inquiry-modal-close {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.inquiry-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.inquiry-modal-body {
  padding: 26px 28px;
}

.inquiry-selected-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.inquiry-preview-thumb {
  width: 60px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.inquiry-form-group {
  margin-bottom: 16px;
}

.inquiry-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.inquiry-form-input, .inquiry-form-select, .inquiry-form-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.inquiry-form-input:focus, .inquiry-form-select:focus, .inquiry-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.inquiry-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.btn-inquiry-primary {
  width: 100%;
  padding: 13px 20px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-inquiry-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

.btn-inquiry-secondary {
  width: 100%;
  padding: 11px 20px;
  background: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-inquiry-secondary:hover {
  background: var(--bg-surface-subtle);
  color: var(--primary);
}

.discreet-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TRUST & PROCESS SECTIONS
   ========================================================================== */
.trust-showcase-section {
  padding: 60px 0 80px 0;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.section-head-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--bg-body);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  transition: all 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: #ffffff;
  box-shadow: var(--shadow-card-hover);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 4-Step Process Section */
.process-section {
  padding: 70px 0;
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.process-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
}

.process-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Package Estimator Interactive Box */
.estimator-section {
  padding: 70px 0;
  background: #ffffff;
}

.estimator-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.estimator-option-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: block;
}

.estimator-result-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.estimator-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.estimator-deal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0 8px 0;
}

.estimator-features-list {
  list-style: none;
  text-align: left;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.estimator-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimator-features-list svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER (Serene Porcelain & Clean Links)
   ========================================================================== */
.sofint-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 45px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 440px;
}

.footer-logo {
  height: 38px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.footer-cta-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.footer-cta-text h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-cta-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .trust-cards-grid, .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .modern-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
  .lightbox-stage { padding: 12px 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-container { padding: 14px 20px; }
  .stats-banner { grid-template-columns: 1fr; }
  .trust-cards-grid, .process-steps-grid { grid-template-columns: 1fr; }
  .modern-gallery-grid { grid-template-columns: 1fr; }
  .gallery-header { flex-direction: column; align-items: stretch; }
  .gallery-controls-wrap { flex-direction: column; align-items: stretch; }
  .lightbox-nav-btn { width: 42px; height: 42px; }
  .lightbox-btn-prev { left: 8px; }
  .lightbox-btn-next { right: 8px; }
  .floating-shortlist-badge { bottom: 20px; right: 20px; padding: 10px 18px; font-size: 0.88rem; }
}
