/* ==========================================================================
   CREATE AND ARISE - CREATIVE DESIGN & DIGITAL MARKETING AGENCY
   Theme: Radiant Cyber-Gold & Deep Obsidian / Purpose-Driven Aesthetic
   Author: Create and Arise (Philippines)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --color-primary: #f59e0b;
  /* Radiant Amber Gold */
  --color-primary-glow: rgba(245, 158, 11, 0.35);
  --color-primary-light: #fbbf24;
  --color-primary-dark: #d97706;

  --color-secondary: #8b5cf6;
  /* Royal Purple / Spiritual Radiance */
  --color-secondary-glow: rgba(139, 92, 246, 0.3);
  --color-secondary-light: #a78bfa;

  --color-accent: #06b6d4;
  /* Electric Cyan / Digital Energy */
  --color-accent-glow: rgba(6, 182, 212, 0.3);

  /* Dark Mode Default Tokens */
  --bg-body: #0a0b10;
  --bg-surface: #12141e;
  --bg-surface-elevated: #1a1e2e;
  --bg-surface-glass: rgba(18, 20, 30, 0.75);
  --bg-glass-card: rgba(26, 30, 46, 0.65);
  --bg-input: #151824;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);
  --border-glass: rgba(255, 255, 255, 0.12);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-gold: #fde68a;

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--color-primary-glow);
  --shadow-purple-glow: 0 0 35px var(--color-secondary-glow);

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1600px;
  --header-height: 80px;
}

/* Light Theme Variable Overrides */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.85);
  --bg-input: #f8fafc;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(217, 119, 6, 0.6);
  --border-glass: rgba(0, 0, 0, 0.1);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-gold: #b45309;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 30px rgba(245, 158, 11, 0.2);
}

/* --------------------------------------------------------------------------
   2. Base & Reset (Zero Page Scroll / Tabbed Single-Screen Web App)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  display: flex;
  flex-direction: column;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Gradients */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  transition: opacity var(--transition-normal);
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
  top: -100px;
  right: -50px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-secondary), transparent 70%);
  bottom: 10%;
  left: -150px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  top: 45%;
  right: 10%;
  opacity: 0.2;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 60px) scale(1.1);
  }

  100% {
    transform: translate(30px, -40px) scale(0.95);
  }
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
}

.section {
  padding: 1.5rem 0 2rem;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  max-width: 100%;
}

@media (max-width: 540px) {
  .section-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 60%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #0a0b10;
  box-shadow: 0 4px 20px var(--color-primary-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--color-primary);
  color: #0a0b10;
  border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   4. Top Announcement / Business Status Bar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
  background: rgba(18, 20, 30, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.4rem 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}

[data-theme="light"] .top-announcement-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.business-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

.status-dot.offline {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-fb-link:hover {
  color: var(--color-primary) !important;
}

.show-mobile-inline,
.show-mobile-block {
  display: none !important;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .show-mobile-inline {
    display: inline !important;
  }
  .show-mobile-block {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   5. Master Fixed Header Container (Top Announcement Bar + Main Navbar)
   Keeps the complete header stationary and fixed at the top of the viewport
   -------------------------------------------------------------------------- */
:root {
  --site-header-height: 114px;
}

@media (max-width: 960px) {
  :root {
    --site-header-height: 108px;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-height: 98px;
  }
}

.site-header-master {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  overflow: visible !important;
}

[data-theme="light"] .site-header-master {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header-master .top-announcement-bar {
  width: 100%;
  flex-shrink: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header-master .site-header {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  z-index: 100 !important;
  overflow: visible !important;
}

.app-view-container {
  padding-top: var(--site-header-height, 114px) !important;
}

.site-header {
  flex-shrink: 0;
  height: 72px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header .container {
  max-width: 100%;
  padding: 0 1rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 100%;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
}

.brand-logo-img-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 16px var(--color-primary-glow);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.brand-logo:hover .brand-logo-img-box {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.42rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-link .nav-icon {
  display: none;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
}

.nav-link.active {
  color: #0a0b10;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-primary-glow);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.header-cta-btn {
  font-size: 0.74rem;
  padding: 0.28rem 0.58rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
}

@media (max-width: 1300px) {
  .brand-tagline {
    display: none;
  }
}

.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 101;
}

.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-menu-toggle:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 14px var(--color-primary-glow);
}

.mobile-menu-toggle:hover .burger-bar {
  background-color: var(--color-primary);
}

/* Burger animated morph into X */
.mobile-menu-toggle.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.mobile-menu-toggle.active .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-primary);
}

.mobile-menu-toggle.active .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-primary);
}

.mobile-drawer-cta-section {
  display: none;
}

.nav-drawer-header {
  display: none;
}

/* Mobile Nav Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Drawer Responsive Overrides */
@media (max-width: 1180px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
  }

  .drawer-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .drawer-close-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(85vw, 360px);
    height: 100dvh;
    background: rgba(12, 14, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2.5rem;
    gap: 0.45rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-glass);
    border-top: none;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  }

  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-left-color: rgba(0, 0, 0, 0.12);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--radius-md);
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .nav-link .nav-icon {
    display: inline-block;
    font-size: 1.15rem;
  }

  .nav-link.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0a0b10;
    font-weight: 700;
  }

  .mobile-drawer-cta-section {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
  }

  .header-actions .hide-compact,
  .header-actions .btn-quote,
  .header-actions .btn-audit {
    display: none !important;
  }
}

@media (max-width: 580px) {
  .header-actions .btn-book-call {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   5.5 App Viewport Container & Tabbed Views (No Outer Scroll)
   -------------------------------------------------------------------------- */
.app-view-container {
  flex: 1 0 auto;
  position: relative;
  width: 100%;
  display: block;
}

.tab-view {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  height: auto;
  overflow: visible;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.tab-view.active {
  display: block;
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   5.6 App Bottom Bar (Responsive Agency Footer)
   -------------------------------------------------------------------------- */
.app-bottom-bar {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 1rem;
  position: relative;
  z-index: 10;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
}

.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bottom-motto {
  color: var(--text-gold);
  font-weight: 600;
  font-style: italic;
  font-size: 0.82rem;
}

.bottom-bar-center {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.bottom-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.bottom-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.bottom-fb-link:hover {
  color: #ffffff;
  background: #1877f2;
  border-color: #1877f2;
}

.bottom-email-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
}

.bottom-email-link:hover {
  text-decoration: underline;
}

.bottom-copy-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bottom-copy-btn:hover {
  background: var(--color-primary);
  color: #0a0b10;
  border-color: var(--color-primary);
}

.bottom-copyright {
  color: var(--text-subtle);
  font-size: 0.75rem;
}

/* Developer Credit Badge */
.bottom-dev-credit {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
  white-space: nowrap;
}

.dev-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.dev-author-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.dev-mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-primary);
  vertical-align: middle;
}

/* Feedback Button in Bottom Bar */
.bottom-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-full);
  color: var(--color-secondary-light);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.bottom-feedback-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-1px);
}

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

/* --------------------------------------------------------------------------
   Feedback Modal Styles
   -------------------------------------------------------------------------- */
.feedback-modal-card {
  max-width: 520px;
  width: 95%;
}

.star-rating-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  color: var(--border-subtle);
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
  padding: 0.1rem;
}

.star-btn.active,
.star-btn:hover {
  color: #f59e0b;
  transform: scale(1.2);
}

.feedback-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feedback-category-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-weight: 500;
}

.feedback-category-btn.selected,
.feedback-category-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb, 245, 158, 11), 0.08);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-badge-container {
    justify-content: center;
  }
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 960px) {
  .hero-lead {
    margin: 0 auto;
  }
}

.hero-cta-single-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

@media (max-width: 960px) {
  .hero-cta-single-container {
    align-items: center;
  }
}

.hero-cta-button-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-cta-button-group {
    justify-content: center;
  }
}

.btn-hero-video {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-hero-video:hover {
  border-color: var(--color-primary);
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-primary-glow);
}

.play-pulse-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #0b0c10;
  font-size: 0.6rem;
  font-weight: 900;
  padding-left: 2px;
  box-shadow: 0 0 12px var(--color-primary-glow);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px var(--color-primary-glow);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px var(--color-primary-glow);
  }
}

.btn-hero-primary {
  font-size: 1.05rem;
  padding: 0.95rem 2.25rem;
  font-weight: 700;
  box-shadow: 0 6px 28px var(--color-primary-glow);
  letter-spacing: -0.01em;
}

.hero-cta-helper {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.hero-helper-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.hero-helper-link:hover {
  color: var(--color-primary-light);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 960px) {
  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.highlight-label {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}

/* Hero Visual Showcase - Borderless Video Player */
.hero-visual {
  position: relative;
  max-width: clamp(280px, 28vw, 340px);
  width: 100%;
  margin: 0 auto;
  transition: transform var(--transition-normal);
}

.hero-browser-frame,
.hero-video-frame {
  background: transparent;
  border: none;
  border-radius: 24px;
  overflow: visible;
  box-shadow: none;
  position: relative;
  transition: transform var(--transition-normal);
}

.hero-browser-frame:hover,
.hero-video-frame:hover {
  transform: translateY(-4px);
}

.hero-browser-header {
  display: none !important;
}

.hero-card-inner {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: min(72vh, 540px);
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.75),
    0 0 45px var(--color-primary-glow);
  transition: box-shadow 0.4s ease, transform var(--transition-normal);
}

.hero-browser-frame:hover .hero-card-inner,
.hero-video-frame:hover .hero-card-inner {
  box-shadow:
    0 32px 75px -10px rgba(0, 0, 0, 0.85),
    0 0 60px var(--color-primary-glow);
}

/* Ambient Blurred Glow Backdrop behind video */
.hero-video-ambient {
  display: none;
}

/* Main crisp foreground video - borderless */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
  cursor: pointer;
  border-radius: 24px;
  transition: transform var(--transition-normal);
}

.hero-browser-frame:hover .hero-video,
.hero-video-frame:hover .hero-video {
  transform: scale(1.02);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  transition: transform var(--transition-normal);
}

.hero-browser-frame.video-focused-glow .hero-card-inner,
.hero-video-frame.video-focused-glow .hero-card-inner {
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.7), 0 25px 70px rgba(0, 0, 0, 0.9) !important;
  transform: scale(1.02) !important;
  transition: all 0.4s ease !important;
}

/* Hero Video Controls Overlay */
.hero-video-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 17, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 5;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.video-control-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.video-control-btn:hover {
  background: var(--color-primary);
  color: #0b0c10;
  border-color: var(--color-primary);
  transform: scale(1.06);
}

.video-control-btn.sound-btn {
  width: auto;
  padding: 0 10px;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.video-control-btn.fit-btn {
  width: auto;
  padding: 0 9px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--text-gold);
}

.video-control-btn.fit-btn:hover {
  background: var(--color-primary);
  color: #0b0c10;
}

.video-control-btn.fullscreen-btn {
  width: 28px;
  height: 28px;
}

/* Floating Badges on Hero - positioned cleanly without obstructing video face */
.floating-badge {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 4;
  animation: floatBadge 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.floating-badge-1 {
  top: 15%;
  left: -32px;
}

.floating-badge-2 {
  bottom: 12%;
  right: -32px;
  left: auto;
  animation-delay: -3s;
}

/* Hero Visual Base */
.hero-visual-badges-bar {
  display: contents;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

/* Tablet (<= 960px) */
@media (max-width: 960px) {
  .hero-visual {
    margin: 2rem auto 0;
    max-width: 320px;
  }

  .floating-badge-1 {
    top: 10%;
    left: -18px;
  }

  .floating-badge-2 {
    bottom: 10%;
    right: -18px;
    left: auto;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .hero-visual {
    max-width: min(300px, 88vw);
    margin: 1.5rem auto 0;
  }

  .hero-card-inner {
    max-height: 480px;
    border-radius: 20px;
  }

  .hero-video {
    border-radius: 20px;
  }

  /* Compact Controls for Mobile */
  .hero-video-controls {
    bottom: 8px;
    right: 8px;
    gap: 4px;
    padding: 3px 6px;
  }

  .video-control-btn {
    width: 26px;
    height: 26px;
  }

  .video-control-btn.sound-btn {
    padding: 0 7px;
    font-size: 0.66rem;
  }

  .video-sound-text {
    display: none;
  }

  .video-control-btn.fit-btn {
    padding: 0 6px;
    font-size: 0.62rem;
  }

  .video-control-btn.fullscreen-btn {
    width: 24px;
    height: 24px;
  }

  /* Responsive Badges Bar - pill row below the video mockup */
  .hero-visual-badges-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .floating-badge {
    position: static;
    animation: none;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-full);
    gap: 0.45rem;
    box-shadow: var(--shadow-sm);
  }

  .floating-badge-1,
  .floating-badge-2,
  .hero-visual.mode-phone .floating-badge-1,
  .hero-visual.mode-phone .floating-badge-2 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .badge-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .badge-title {
    font-size: 0.76rem;
  }

  .badge-desc {
    display: none;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .browser-dots {
    display: none;
  }

  .hero-visual.mode-phone {
    max-width: 260px;
  }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-icon.gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-primary);
}

.badge-icon.purple {
  background: rgba(139, 92, 246, 0.2);
  color: var(--color-secondary);
}

.badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.badge-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. Scripture & Purpose Motto Banner
   -------------------------------------------------------------------------- */
.motto-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(6, 182, 212, 0.08) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
  text-align: center;
  position: relative;
}

.motto-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

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

.motto-reference {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Services Section (Hypermakarios Design Language & Architecture)
   -------------------------------------------------------------------------- */

/* Hypermakarios & Network Brand Tokens */
:root {
  --hm-site-ink: #0b1220;
  --hm-site-navy: #102b50;
  --hm-site-navy-dark: #091a33;
  --hm-site-blue: #245a92;
  --hm-site-blue-bright: #245a92;
  --hm-site-gold: #c8a45d;
  --hm-site-gold-hover: #d8b878;
  --hm-site-gold-soft: #e9d5ae;
  --hm-site-paper: #ffffff;
  --hm-site-canvas: #f6f8fb;
  --hm-site-muted: #526073;
  --hm-site-line: #d9e1ec;
  --hm-home-dark-border: #8193ab;
  --hm-home-pale: #ccd7e6;
  --hm-catalog-bg: #0b1220;
  --hm-catalog-fg: #f8fafc;
  --hm-catalog-border: #293950;
  --hm-catalog-field: #141d2e;
  --hm-catalog-focus: #c8a45d;
}

[data-theme="light"] {
  --hm-catalog-bg: #f8fafc;
  --hm-catalog-fg: #08182d;
  --hm-catalog-border: #cbd5e1;
  --hm-catalog-field: #ffffff;
  --hm-catalog-focus: #245a92;
}

/* Services Hero Section */
.services-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 43, 80, 0.95), rgba(9, 26, 51, 0.98)),
    radial-gradient(circle at 85% 25%, rgba(36, 90, 146, 0.4), transparent 60%),
    url('../images/hero-agency.jpg') center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 16px 40px -12px rgba(7, 20, 38, 0.5);
}

.services-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #102b50 35%, rgba(16, 43, 80, 0.94) 55%, rgba(16, 43, 80, 0.3) 90%);
  pointer-events: none;
  z-index: 1;
}

.services-hero-banner .site-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 164, 93, 0.15);
  border: 1px solid rgba(200, 164, 93, 0.35);
  color: var(--hm-site-gold-hover);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.services-hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-site-gold);
  box-shadow: 0 0 10px var(--hm-site-gold);
}

.services-hero-banner h1,
.services-hero-banner .hero-heading {
  font-family: 'Libre Baskerville', 'Syne', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.services-hero-banner p {
  color: var(--hm-home-pale);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

/* Directory Section */
.site-service-directory {
  background: transparent;
  padding-block: 1rem 2rem;
}

.site-service-directory__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.site-service-directory__intro h2 {
  font-family: 'Libre Baskerville', 'Syne', Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.site-service-directory__intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.site-service-directory__tools {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-service-directory__search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-service-directory__search {
  background: var(--hm-catalog-field);
  border: 1px solid var(--hm-catalog-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  width: min(100%, 540px);
  transition: all 0.25s ease;
  position: relative;
}

.site-service-directory__search:focus-within {
  border-color: var(--hm-catalog-focus);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.25);
  outline: none;
}

.site-service-directory__search .app-icon {
  color: #8193ab;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-service-directory__search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}

.site-service-directory__search input::placeholder {
  color: #64748b;
}

.search-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.search-clear-btn:hover {
  color: #fff;
}

.site-service-directory__count {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-service-directory__filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.service-filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-filter-pill.active {
  background: var(--hm-site-gold);
  color: #0b1220;
  border-color: var(--hm-site-gold);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(200, 164, 93, 0.35);
}

/* Service Offers Grid (Hypermakarios 2-Column Flagship Layout) */
.site-service-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 860px) {
  .site-service-directory__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Service Offer Card */
.service-offer {
  --offer-accent: #c8a45d;
  --offer-surface: #101827;
  --offer-primary: #315f87;
  background: linear-gradient(140deg, color-mix(in srgb, var(--offer-primary) 12%, #101827), #101827 65%);
  color: #fff;
  border: 1px solid #293950;
  border-radius: 16px;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  overflow: hidden;
  position: relative;
}

.service-offer:hover {
  transform: translateY(-4px);
  border-color: var(--offer-accent);
  box-shadow: 0 16px 32px -20px color-mix(in srgb, var(--offer-accent) 45%, #071426), 0 0 20px rgba(0, 0, 0, 0.5);
}

.service-offer__media {
  aspect-ratio: 16 / 9;
  background: #15243a;
  flex: none;
  position: relative;
  overflow: hidden;
}

.service-offer__media::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0) 65%, rgba(16, 24, 39, 0.88));
  position: absolute;
  inset: 0;
}

.service-offer__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.service-offer:hover .service-offer__media img {
  transform: scale(1.04);
}

.service-offer__category-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Floating Badge */
.service-offer__badge {
  z-index: 2;
  width: 48px;
  height: 48px;
  color: var(--offer-accent);
  background: #142239;
  border: 1px solid #41536c;
  border-radius: 12px;
  flex: none;
  place-items: center;
  margin: -24px 0 18px 24px;
  padding: 9px;
  display: grid;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-offer:hover .service-offer__badge {
  transform: scale(1.08);
  border-color: var(--offer-accent);
}

.service-offer__badge svg {
  width: 24px;
  height: 24px;
}

/* Card Body */
.service-offer__body {
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  min-width: 0;
  padding: 0 24px 24px;
  display: flex;
}

.service-offer__title {
  color: #fff;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  min-height: 2.7em;
  margin: 0;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.35;
}

.service-offer__company {
  color: #c3d3e6;
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-offer__company .company-verified {
  color: var(--hm-site-gold);
  display: inline-flex;
}

.service-offer__description {
  color: #bdcce0;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
}

/* Deliverables Feature List */
.service-offer__features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.service-offer__feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #d1dced;
}

.service-offer__feature-item svg {
  color: var(--offer-accent);
  flex-shrink: 0;
}

/* Action Link Footer */
.service-offer__action {
  min-height: 48px;
  color: var(--offer-accent);
  justify-content: space-between;
  align-self: stretch;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

.service-offer__action .app-icon {
  flex: none;
  width: 18px;
  height: 18px;
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-offer:hover .service-offer__action .app-icon {
  transform: translateX(4px);
}

/* Empty State */
.site-service-directory__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-surface-glass);
  border: 1px dashed var(--hm-catalog-border);
  border-radius: var(--radius-lg);
}

.site-service-directory__empty .empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 164, 93, 0.1);
  color: var(--hm-site-gold);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.site-service-directory__empty h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.site-service-directory__empty p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Services Scope (Hypermakarios Layout) */
.services-scope {
  background: rgba(16, 24, 39, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 48px;
}

.services-scope__grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  display: grid;
  align-items: center;
}

.services-scope h2 {
  font-family: 'Libre Baskerville', 'Syne', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.services-scope p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.services-scope p+p {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .services-scope__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Services Closing (Hypermakarios Dark Closing Banner) */
.services-closing {
  background: linear-gradient(135deg, #102b50 0%, #091a33 60%, #061122 100%);
  border: 1px solid rgba(200, 164, 93, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  margin-top: 32px;
  box-shadow: 0 16px 36px -12px rgba(7, 20, 38, 0.6);
}

.services-closing__grid {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  display: grid;
}

.services-closing h2 {
  font-family: 'Libre Baskerville', 'Syne', Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.services-closing p {
  color: var(--hm-home-pale);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
}

.services-closing__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-button {
  border: 1px solid transparent;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
}

.brand-button--gold {
  background: var(--hm-site-gold);
  color: var(--hm-site-ink);
  box-shadow: 0 4px 14px rgba(200, 164, 93, 0.25);
}

.brand-button--gold:hover {
  background: var(--hm-site-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 164, 93, 0.4);
}

.brand-button--blue {
  background: var(--hm-site-blue);
  color: #fff;
}

.brand-button--blue:hover {
  background: #1b4777;
  transform: translateY(-2px);
}

.brand-button--outline {
  border-color: var(--hm-home-dark-border);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.brand-button--outline:hover {
  background: #1b3a61;
  border-color: var(--hm-home-pale);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .services-closing__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Backward-compatibility aliases for legacy service-card styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   9. Mission, Vision & Values (The Faith Foundation)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   9. About The Company, Mission, Vision & Values (The Faith Foundation)
   -------------------------------------------------------------------------- */
.faith-mission-section {
  background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 30, 0.6) 100%);
  position: relative;
}

/* About: Who We Are Hero Card */
.about-who-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-who-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .about-who-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.about-who-lead {
  font-size: clamp(1.02rem, 2.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.about-who-text {
  font-size: clamp(0.9rem, 2vw, 0.98rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

@media (max-width: 480px) {
  .about-stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding: 1.15rem 0.85rem;
  }
}

@media (max-width: 340px) {
  .about-stats-strip {
    grid-template-columns: 1fr;
  }
}

.about-stat-item {
  display: flex;
  flex-direction: column;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* Our Story Section */
.our-story-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.story-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .story-content-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.story-body p {
  font-size: clamp(0.9rem, 2vw, 0.98rem);
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.story-scripture-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1rem, 3vw, 1.75rem);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.story-scripture-icon {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.story-scripture-quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.story-scripture-ref {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   About Us Header Split (Text Beside Video)
   ========================================================================== */
.about-header-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto clamp(1.75rem, 4vw, 3.25rem);
  width: 100%;
}

.about-header-text-col {
  text-align: left;
  min-width: 0;
}

.about-header-text-col .section-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.about-split-title {
  text-align: left;
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.2;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.about-split-desc {
  text-align: left;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0;
}

.about-header-video-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
}

.about-video-frame {
  position: relative;
  width: 100%;
  max-width: clamp(210px, 22vw, 270px);
  max-height: min(62vh, 460px);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(245, 158, 11, 0.15);
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  margin: 0 auto;
}

@media (hover: hover) {
  .about-video-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow:
      0 28px 65px -12px rgba(0, 0, 0, 0.85),
      0 0 50px rgba(245, 158, 11, 0.25);
  }
}

.about-anim-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.about-video-ambient {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(28px) brightness(0.65) saturate(1.4);
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}

.about-video-controls {
  position: absolute;
  bottom: 12px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 17, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 5;
  transition: all 0.2s ease;
}

.about-video-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 6;
  cursor: pointer;
}

.about-video-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #8b5cf6);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Responsive Breakpoints for About Us Video & Header
   ========================================================================== */

/* Laptop / Medium Desktop (<= 1024px) */
@media (max-width: 1024px) {
  .about-header-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
  }

  .about-video-frame {
    max-width: 235px;
  }
}

/* Tablet Portrait & Large Phones (<= 860px) */
@media (max-width: 860px) {
  .about-header-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .about-header-text-col {
    text-align: center;
  }

  .about-split-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-split-desc {
    text-align: center;
    margin: 0 auto;
  }

  .about-video-frame {
    max-width: 230px;
    max-height: min(52vh, 410px);
  }
}

/* Standard Mobile (<= 640px) */
@media (max-width: 640px) {
  .about-header-split {
    gap: 1.35rem;
    margin-bottom: 2rem;
  }

  .about-split-title {
    font-size: clamp(1.6rem, 5.8vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: 0.75rem;
  }

  .about-split-desc {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .about-video-frame {
    max-width: min(210px, 62vw);
    max-height: min(48vh, 375px);
    border-radius: 16px;
  }

  .about-video-controls {
    bottom: 8px;
    right: 8px;
    padding: 3px 5px;
    gap: 4px;
  }

  .about-video-controls .video-control-btn {
    width: 27px;
    height: 27px;
  }

  .about-video-controls .sound-btn {
    padding: 0 6px;
  }

  .about-video-controls .fullscreen-btn {
    width: 25px;
    height: 25px;
  }
}

/* Small Mobile (<= 400px) */
@media (max-width: 400px) {
  .about-header-split {
    gap: 1.15rem;
  }

  .about-split-title {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
  }

  .about-split-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .about-video-frame {
    max-width: min(190px, 60vw);
    max-height: min(44vh, 340px);
    border-radius: 14px;
  }

  .about-video-controls {
    bottom: 8px;
    right: 8px;
    padding: 2px 5px;
    gap: 3px;
  }

  .about-video-controls .video-control-btn {
    width: 25px;
    height: 25px;
  }

  .about-video-controls .video-sound-text {
    display: none !important;
  }

  .about-video-controls .sound-btn {
    padding: 0 6px;
  }

  .about-video-controls .fullscreen-btn {
    width: 23px;
    height: 23px;
  }
}

/* Extra Small (<= 340px) */
@media (max-width: 340px) {
  .about-split-title {
    font-size: 1.35rem;
  }

  .about-video-frame {
    max-width: 170px;
    max-height: 40vh;
  }
}

/* Mobile Landscape & Short Viewports (min-width: 560px and max-height: 520px) */
@media (min-width: 560px) and (max-height: 520px) and (orientation: landscape) {
  .about-header-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    text-align: left;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .about-header-text-col {
    text-align: left;
  }

  .about-split-title {
    text-align: left;
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
  }

  .about-split-desc {
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }

  .about-video-frame {
    max-width: 155px;
    max-height: 68vh;
    border-radius: 14px;
  }
}

/* Mission & Vision Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 840px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.mv-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.mv-card.mission-card {
  border-top: 4px solid var(--color-primary);
}

.mv-card.vision-card {
  border-top: 4px solid var(--color-secondary);
}

.mv-card-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.mv-card-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.mv-card-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ARISE Pillars */
.pillars-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 680px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.pillar-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.35rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-md);
}

.pillar-letter {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Why Work With Us Grid */
.why-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 680px) {
  .why-work-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.why-work-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.why-work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.why-work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.why-work-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.why-work-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.why-work-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.why-work-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.why-work-benefit {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* About Bottom CTA Banner */
.about-cta-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.about-cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.about-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .about-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .about-cta-buttons .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   10. Portfolio Showcase & Presentation Hub
   -------------------------------------------------------------------------- */
/* Live Client Impact & ROI Statistics Ticker */
.portfolio-impact-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
  width: 100%;
}

@media (max-width: 1080px) {
  .portfolio-impact-ticker {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .portfolio-impact-ticker {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.impact-ticker-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.impact-ticker-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 158, 11, 0.1);
}

.impact-ticker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.impact-num-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.impact-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.impact-trend {
  font-size: 1.1rem;
  color: #10b981;
  font-weight: 800;
}

.impact-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.impact-label {
  font-size: clamp(0.82rem, 2vw, 0.88rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.impact-sub {
  font-size: clamp(0.72rem, 1.8vw, 0.76rem);
  color: var(--text-subtle);
  line-height: 1.35;
}

/* ==========================================================================
   Organized Portfolio Hub: Category Tabs, Utility Bar & Search
   ========================================================================== */
.portfolio-hub {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Tier 1: Primary Category Dropdown Selector */
.portfolio-category-dropdown-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.portfolio-dropdown-container {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: auto;
  max-width: 100%;
}

.portfolio-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}

.portfolio-dropdown-label svg {
  color: var(--color-primary);
  opacity: 0.9;
  flex-shrink: 0;
}

.portfolio-dropdown-box {
  position: relative;
  display: block;
  width: 320px;
  max-width: 100%;
}

.portfolio-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  background: rgba(22, 26, 40, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  user-select: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.portfolio-dropdown-trigger:hover {
  background: rgba(30, 36, 56, 0.95);
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px var(--color-primary-glow);
  transform: translateY(-1px);
}

.portfolio-dropdown-box.is-open .portfolio-dropdown-trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow), 0 6px 24px rgba(0, 0, 0, 0.5);
  background: rgba(30, 36, 56, 1);
}

.dropdown-trigger-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  min-width: 0;
  flex: 1;
}

.dropdown-trigger-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.dropdown-trigger-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.dropdown-trigger-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-primary);
  border: 1px solid rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.dropdown-trigger-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-primary);
  flex-shrink: 0;
}

.portfolio-dropdown-box.is-open .dropdown-trigger-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu Popup */
.portfolio-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(14, 17, 27, 0.98);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 0.45rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  max-height: min(360px, 65vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.portfolio-dropdown-box.is-open .portfolio-dropdown-menu {
  display: flex;
  animation: portfolioDropdownSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes portfolioDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portfolio-dropdown-item.filter-btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  user-select: none;
  box-shadow: none;
  transform: none;
  -webkit-tap-highlight-color: transparent;
}

.portfolio-dropdown-item.filter-btn:hover,
.portfolio-dropdown-item.filter-btn:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
  outline: none;
}

.portfolio-dropdown-item.filter-btn.active {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-weight: 700;
  box-shadow: none;
}

.dropdown-item-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.dropdown-item-info .filter-icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.dropdown-item-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.dropdown-item-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.portfolio-dropdown-item .filter-count {
  font-size: 0.72rem;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-subtle);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.portfolio-dropdown-item.filter-btn.active .filter-count {
  background: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.dropdown-item-check {
  opacity: 0;
  color: var(--color-primary);
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: scale(0.6);
  flex-shrink: 0;
}

.portfolio-dropdown-item.filter-btn.active .dropdown-item-check {
  opacity: 1;
  transform: scale(1);
}

/* Tier 2: Utility Bar (Status Counter + Search + View Switcher) */
.portfolio-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(18, 20, 30, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portfolio-status-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.portfolio-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

.portfolio-count-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-count-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.portfolio-count-text em {
  color: var(--color-primary-light);
  font-style: normal;
}

.portfolio-reset-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-reset-pill:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

.portfolio-tools-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-search-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  position: relative;
  min-width: 260px;
  max-width: 340px;
  transition: all var(--transition-fast);
}

.portfolio-search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 14px var(--color-primary-glow);
  background: var(--bg-surface);
}

.portfolio-search-box svg {
  color: var(--text-subtle);
  flex-shrink: 0;
}

.portfolio-search-box input {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
  width: 100%;
  outline: none;
}

.portfolio-search-box input::placeholder {
  color: var(--text-subtle);
}

.portfolio-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.portfolio-search-clear:hover {
  color: var(--color-primary);
}

.portfolio-view-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 0.25rem;
  flex-shrink: 0;
}

.view-mode-btn {
  padding: 0.4rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

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

.view-mode-btn.active {
  background: var(--bg-surface);
  color: var(--color-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

/* ==========================================================================
   Comprehensive Responsive Control Hub (Dropdown, Utility Bar & Search)
   ========================================================================== */

/* Tablet & Mobile Landscape (max-width: 860px) */
@media (max-width: 860px) {
  .portfolio-category-dropdown-area {
    width: 100%;
  }

  .portfolio-dropdown-container {
    width: 100%;
    max-width: 500px;
    justify-content: center;
  }

  .portfolio-dropdown-box {
    flex: 1;
    width: 100%;
    min-width: 0;
  }

  .portfolio-utility-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .portfolio-tools-group {
    width: 100%;
    justify-content: space-between;
  }

  .portfolio-search-box {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
}

/* Phablet / Standard Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .portfolio-hub {
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .portfolio-dropdown-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.45rem;
  }

  .portfolio-dropdown-label {
    font-size: 0.76rem;
  }

  .portfolio-dropdown-box {
    width: 100%;
    min-width: 0;
  }

  .portfolio-dropdown-trigger {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }

  .portfolio-dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
  }

  .portfolio-quick-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .portfolio-quick-tags::-webkit-scrollbar {
    display: none;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .portfolio-utility-bar {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .portfolio-status-info {
    font-size: 0.8rem;
    justify-content: space-between;
  }

  .portfolio-tools-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
  }

  .portfolio-search-box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .portfolio-view-switch {
    width: 100%;
    display: flex;
  }

  .view-mode-btn {
    flex: 1;
    justify-content: center;
    padding: 0.48rem 0.5rem;
    font-size: 0.78rem;
  }

  .dropdown-trigger-main {
    font-size: 0.88rem;
    gap: 0.5rem;
  }

  .dropdown-trigger-count {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
  }

  .portfolio-dropdown-item.filter-btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.84rem;
  }
}

/* Ultra-Compact Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .portfolio-dropdown-trigger {
    padding: 0.55rem 0.75rem;
    gap: 0.35rem;
  }

  .dropdown-trigger-main {
    font-size: 0.82rem;
  }

  .dropdown-trigger-icon {
    font-size: 0.95rem;
  }

  .portfolio-dropdown-item.filter-btn {
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* Quick Explore Tags Strip */
.portfolio-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.15rem 0.25rem;
}

.quick-tags-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.25rem;
}

.quick-tag-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.quick-tag-chip:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--text-main);
  transform: translateY(-1px);
}

.quick-tag-chip.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  font-weight: 700;
}

/* Matrix Table Banner */
.matrix-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: rgba(245, 158, 11, 0.06);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.matrix-banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.matrix-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.matrix-banner-text strong {
  color: var(--text-main);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.15rem;
}

.matrix-banner-text p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.35;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
}

.portfolio-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  width: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

@media (max-width: 768px) {
  .portfolio-card:hover {
    transform: translateY(-4px);
  }
}

.portfolio-thumb-wrapper {
  position: relative;
  overflow: hidden;
  height: clamp(210px, 30vw, 250px);
  background: #0b0d14;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-normal);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 16, 0.1) 0%, rgba(10, 11, 16, 0.75) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.portfolio-overlay:empty {
  display: none;
}

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

.portfolio-quick-view-btn {
  background: var(--color-primary);
  color: #0a0b10;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.portfolio-card:hover .portfolio-quick-view-btn {
  transform: translateY(0);
}

.portfolio-badges-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  pointer-events: none;
}

.portfolio-badge {
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.portfolio-timeline-badge {
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.portfolio-info {
  padding: clamp(1.15rem, 3vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}

.portfolio-client {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-verified-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.portfolio-title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.portfolio-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-tools-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.portfolio-tool-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  color: var(--text-subtle);
  white-space: nowrap;
}

.portfolio-metrics {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.metric-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.view-case-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform var(--transition-fast);
  white-space: nowrap;
}

.portfolio-card:hover .view-case-btn {
  transform: translateX(4px);
}

/* Executive ROI Matrix Table View */
.portfolio-matrix-view {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  width: 100%;
}

.matrix-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.matrix-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.matrix-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.matrix-table td {
  padding: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

.matrix-table tr:hover td {
  background: rgba(245, 158, 11, 0.03);
}

.matrix-roi-chip {
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10.5. Before & After Transformation Showcase & Case Study Lightbox
   -------------------------------------------------------------------------- */
.before-after-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.before-after-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.before-after-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.ba-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ba-client-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ba-client-sub {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.ba-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  .ba-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.ba-col {
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ba-col.before {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--text-muted);
}

.ba-col.after {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-main);
}

.ba-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ba-col.before .ba-label {
  color: #ef4444;
}

.ba-col.after .ba-label {
  color: #10b981;
}

.ba-metric-highlight {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--text-gold);
  font-weight: 700;
}

/* Modal Case Study Rich Presentation Layout */
.modal-card.modal-case-study {
  max-width: 900px;
  width: 95%;
  padding: 2.5rem;
  max-height: 92vh;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .modal-card.modal-case-study {
    padding: 1.5rem 1.2rem;
  }
}

.cs-presentation-header {
  margin-bottom: 1.5rem;
}

.cs-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.cs-tag-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cs-timeline-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.cs-verified-chip {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.cs-top-metric-chip {
  color: #10b981;
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.cs-modal-title {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
}

.cs-modal-client {
  color: var(--text-gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.cs-image-header {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-glass);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  background: #090c12;
}

.cs-image-stage {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  height: clamp(320px, 46vw, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 35%, rgba(245, 158, 11, 0.05) 0%, transparent 65%),
    radial-gradient(circle at 50% 30%, rgba(28, 35, 50, 0.8) 0%, rgba(9, 11, 16, 0.98) 100%);
  overflow: hidden;
}

.cs-image-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.7));
  transition: opacity 0.25s ease, transform var(--transition-normal);
}

.cs-image-tagline {
  position: relative;
  background: rgba(13, 17, 24, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 0.95rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.cs-ownership-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 600px) {
  .cs-results-grid {
    grid-template-columns: 1fr;
  }
}

.cs-result-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #10b981);
}

.cs-result-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.cs-result-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
  .cs-two-col {
    grid-template-columns: 1fr;
  }
}

.cs-problem-card {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
}

.cs-solution-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
}

.cs-section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cs-problem-card .cs-section-heading {
  color: #ef4444;
}

.cs-solution-card .cs-section-heading {
  color: #10b981;
}

.cs-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cs-ba-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.5rem;
}

.cs-box-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cs-deliverables-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.5rem;
}

.cs-tools-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cs-tool-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--color-primary);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.cs-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.cs-deliv-item {
  font-size: 0.86rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cs-deliv-item span {
  color: var(--color-primary);
  font-weight: 800;
}

.cs-testimonial-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.cs-quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.cs-quote-stars {
  color: #fbbf24;
  font-size: 0.88rem;
  font-weight: 700;
}

.cs-quote-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.cs-quote-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.cs-quote-author {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
  font-style: normal;
}

.cs-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Interactive Case Study Multi-Mockup Gallery */
.cs-gallery-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.5rem;
}

.cs-mockup-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

@media (max-width: 600px) {
  .cs-mockup-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.cs-mockup-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.cs-mockup-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.cs-mockup-thumb {
  height: 100px;
  background: radial-gradient(circle at 50% 30%, rgba(32, 40, 58, 0.6) 0%, #0d0f17 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.cs-mockup-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.cs-mockup-item:hover .cs-mockup-thumb img {
  transform: scale(1.08);
}

.cs-mockup-meta {
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
}

.cs-mockup-meta strong {
  font-size: 0.76rem;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-mockup-meta span {
  font-size: 0.68rem;
  color: var(--text-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About Founder & Brand Showcase Card */
.about-brand-showcase-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
  .about-brand-showcase-card {
    padding: 1.25rem 0.95rem;
    border-radius: var(--radius-md);
  }
}

/* Founder & Lead Developer Spotlight Card Layout */
.founder-developer-card-wrapper {
  display: grid;
  grid-template-columns: 260px 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
}

@media (max-width: 1240px) {
  .founder-developer-card-wrapper {
    grid-template-columns: 240px 1fr;
    gap: 1.75rem;
  }

  .founder-developer-card-wrapper .about-mockup-preview-strip {
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 860px) {
  .founder-developer-card-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .founder-developer-card-wrapper .about-mockup-preview-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .founder-role-title,
  .founder-skill-tags,
  .about-brand-text .hero-badge-container {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .founder-developer-card-wrapper .about-mockup-preview-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 340px) {
  .founder-developer-card-wrapper .about-mockup-preview-strip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.founder-profile-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.founder-photo-frame {
  position: relative;
  width: min(240px, 100%);
  aspect-ratio: 240 / 290;
  height: auto;
  max-width: 240px;
  border-radius: var(--radius-lg);
  padding: 5px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.75) 0%, rgba(139, 92, 246, 0.45) 50%, rgba(6, 182, 212, 0.45) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  margin: 0 auto;
}

.founder-photo-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.4);
}

.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  background: radial-gradient(circle at 50% 28%, rgba(245, 158, 11, 0.22) 0%, rgba(139, 92, 246, 0.12) 45%, rgba(18, 20, 30, 0.95) 85%);
}

.founder-verified-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--color-primary);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.68rem, 2vw, 0.74rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.founder-quick-metrics {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: min(250px, 100%);
  justify-content: center;
  margin: 0.4rem auto 0;
}

.founder-metric-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  text-align: center;
  flex: 1;
}

.founder-metric-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.founder-metric-pill span {
  font-size: 0.65rem;
  color: var(--text-subtle);
  line-height: 1.1;
  display: block;
}

.founder-role-title {
  color: var(--color-secondary-light);
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 0.88rem);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.founder-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.service-chip-tag {
  font-size: clamp(0.68rem, 2vw, 0.72rem);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--color-primary-light);
  font-weight: 600;
}

.founder-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

@media (max-width: 860px) {
  .founder-cta-row {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .founder-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .founder-cta-row .btn,
  .founder-cta-row a.btn {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
  }
}

.dev-mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  border: 1px solid var(--color-primary);
  margin-right: 4px;
}

.about-mockup-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.about-mockup-pill-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  display: block;
}

.about-mockup-pill-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.about-mockup-pill-card img {
  width: 100%;
  height: clamp(85px, 16vw, 115px);
  object-fit: contain;
  padding: 0.4rem;
  background: radial-gradient(circle at 50% 30%, rgba(30, 36, 52, 0.5) 0%, #0d0f17 100%);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

.about-mockup-pill-card span {
  display: block;
  font-size: clamp(0.66rem, 1.8vw, 0.74rem);
  font-weight: 700;
  color: var(--text-main);
  padding: 0.45rem 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   10.5. Agency Team Collective Showcase
   -------------------------------------------------------------------------- */
.agency-team-section {
  margin-top: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  width: 100%;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  width: 100%;
}

@media (min-width: 861px) and (max-width: 1300px) {
  .team-cards-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
  }

  .team-cards-grid .team-member-card:nth-child(1),
  .team-cards-grid .team-member-card:nth-child(2),
  .team-cards-grid .team-member-card:nth-child(3) {
    grid-column: span 2;
  }

  .team-cards-grid .team-member-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .team-cards-grid .team-member-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 541px) and (max-width: 860px) {
  .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .team-cards-grid .team-member-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .team-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .team-member-card {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    padding: 1.35rem 1rem !important;
  }
}

.team-member-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.6rem) clamp(1rem, 2vw, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  overflow: hidden;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 158, 11, 0.2);
}

.team-member-avatar-wrap {
  position: relative;
  width: clamp(100px, 20vw, 120px);
  height: clamp(100px, 20vw, 120px);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(245, 158, 11, 0.25);
  margin-bottom: 0.85rem;
}

.team-member-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-member-img.cutout-fit {
  object-position: top center;
  background: radial-gradient(circle at 50% 28%, rgba(245, 158, 11, 0.22) 0%, rgba(139, 92, 246, 0.12) 45%, rgba(18, 20, 30, 0.95) 85%);
}

.team-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--color-primary);
  margin-bottom: 0.65rem;
  white-space: nowrap;
}

.team-member-name {
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.team-member-role {
  font-size: clamp(0.76rem, 1.8vw, 0.8rem);
  font-weight: 600;
  color: var(--color-secondary-light);
  margin-bottom: 0.75rem;
}

.team-member-bio {
  font-size: clamp(0.8rem, 1.8vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.team-member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: auto;
}

.team-skill-tag {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-subtle);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10.6. Workflow Collaboration Road Map & Agency Comparison Matrix
   -------------------------------------------------------------------------- */
.workflow-collaboration-section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  width: 100%;
}

@media (max-width: 1080px) {
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 580px) {
  .workflow-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.workflow-step-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  width: 100%;
}

.workflow-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .workflow-step-card:hover {
    transform: translateY(-3px);
  }
}

.workflow-step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-subtle);
  margin-bottom: 0.85rem;
  opacity: 0.6;
}

.workflow-step-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-step-title {
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.workflow-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.workflow-step-deliverable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-wrap: wrap;
}

/* Agency 3-Way Comparison Section */
.agency-comparison-section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 1024px) {
  .comparison-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.comparison-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  width: 100%;
}

.comparison-card.highlight {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(18, 20, 30, 0.95) 100%);
  border: 2px solid var(--color-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-primary-glow);
  transform: scale(1.02);
  z-index: 2;
}

@media (max-width: 1024px) {
  .comparison-card.highlight {
    transform: none;
  }
}

.comp-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #0a0b10;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

.comp-badge {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.comp-badge-standard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.comp-badge-primary {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--color-primary);
}

.comp-price-range {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.comparison-card.highlight .comp-price-range {
  color: var(--color-primary);
}

.comp-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.comp-item {
  font-size: clamp(0.84rem, 2vw, 0.88rem);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.comp-item.positive {
  color: var(--text-main);
}

.comp-item.positive strong {
  color: var(--text-gold);
}

.comp-item.negative {
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   11. Interactive Cost & Quote Estimator
   -------------------------------------------------------------------------- */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .calculator-box {
    padding: 2rem 1.25rem;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calc-summary-card {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }
}

.calc-step-group {
  margin-bottom: 2rem;
}

.calc-step-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.step-num {
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  color: #0a0b10;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
}

.calc-option-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}

.calc-option-card input {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.calc-option-card:hover {
  border-color: var(--border-glass);
}

.calc-option-card.selected {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1);
}

.calc-option-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Calculator Summary Card */
.calc-summary-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.summary-header {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.selected-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  min-height: 80px;
}

.selected-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.estimated-price-box {
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px dashed rgba(245, 158, 11, 0.4);
}

.est-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.est-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.est-currency-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   11.8. Client & Partner Logos Marquee
   -------------------------------------------------------------------------- */
.logo-marquee-wrapper {
  padding: 2.5rem 0 1.5rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  transition: all var(--transition-fast);
  user-select: none;
}

.marquee-logo-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.marquee-logo-item .logo-icon-chip {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11.9. Agency Key Results & Statistics Grid
   -------------------------------------------------------------------------- */
.agency-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1.25rem;
  margin: 3rem 0;
}

@media (max-width: 680px) {
  .agency-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
  }
}

@media (max-width: 420px) {
  .agency-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stats-counter-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stats-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.8;
}

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

.stats-counter-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stats-counter-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.stats-counter-desc {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   12. Reviews & Testimonials Hub
   -------------------------------------------------------------------------- */
.reviews-rating-header-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 960px) {
  .reviews-rating-header-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

.rating-score-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rating-big-num {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.rating-stars-gold {
  color: #f59e0b;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.rating-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating-bars-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rating-bar-label {
  width: 55px;
  white-space: nowrap;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-surface-elevated);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 4px;
}

.rating-bar-pct {
  width: 35px;
  text-align: right;
  font-weight: 600;
  color: var(--text-main);
}

.rating-trust-badges-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 2rem;
}

@media (max-width: 960px) {
  .rating-trust-badges-box {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.9rem;
}

.trust-badge-pill .tb-icon {
  color: #10b981;
  font-weight: 800;
}

/* Reviews Filter Bar */
.reviews-filters-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.review-filter-btn {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
}

.review-filter-btn.active {
  color: #0a0b10;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px var(--color-primary-glow);
  font-weight: 700;
}

/* Enhanced Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 680px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.testimonial-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.testimonial-service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-primary);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
  position: relative;
}

.testimonial-result-tag {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #0a0b10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 2px 10px var(--color-primary-glow);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-verified-chip {
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.author-location {
  font-size: 0.72rem;
  color: var(--text-gold);
  font-weight: 600;
}

/* Partners & Credentials Ecosystem Grid */
.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.partner-logo-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.partner-logo-box:hover {
  border-color: var(--border-glass);
  transform: translateY(-3px);
}

.partner-logo-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.partner-logo-role {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   13. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glass);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem;
}

/* --------------------------------------------------------------------------
   14. Contact & Consultation Booking Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 1.5rem 1.15rem;
  }

  .contact-info-panel {
    gap: 1.25rem;
  }
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .contact-detail-row {
    gap: 0.75rem;
    margin-bottom: 1.15rem;
  }
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-schedule-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.contact-form-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: var(--bg-surface-elevated);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #07080c;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
}

[data-theme="light"] .site-footer {
  background: #0f172a;
  color: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-hours-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-faith-note {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   16. Modals & Interactive Overlays
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: calc(100dvh - 2rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
  box-shadow: var(--shadow-lg);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #0a0b10;
}

/* ==========================================================================
   17. Automated AI Chatbot Widget (AriseBot)
   ========================================================================== */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.chatbot-widget * {
  pointer-events: auto;
}

/* Floating Trigger Button */
.chatbot-trigger-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-trigger-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #0a0b10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: none;
  position: relative;
  overflow: visible;
}

.chatbot-trigger-btn:hover {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
}

.chatbot-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-body);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.chatbot-tooltip {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  animation: floatTooltip 3s ease-in-out infinite alternate;
  cursor: pointer;
  user-select: none;
}

@keyframes floatTooltip {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-6px);
  }
}

@media (hover: none), (max-width: 768px), (max-height: 520px) {
  .chatbot-tooltip {
    display: none !important;
  }
}

/* Chatbot Popup Window */
.chatbot-window {
  width: 390px;
  max-width: calc(100vw - 2.5rem);
  height: 580px;
  max-height: calc(100vh - 7rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px) scale(0.95);
  transform-origin: bottom right;
  transition: all var(--transition-bounce);
  z-index: 10000;
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.15));
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--color-primary-glow);
  flex-shrink: 0;
  overflow: hidden;
}

.chat-bot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  display: block;
}

.chat-trigger-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.chat-bot-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.chat-bot-status {
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-header-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.chat-header-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

/* Chat Messages Scroll Container */
.chat-messages-container {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chat-messages-container::-webkit-scrollbar {
  width: 5px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

/* Message Bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: fadeInMsg 0.3s ease-out forwards;
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
  word-break: break-word;
}

.chat-msg.bot .chat-bubble {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #0a0b10;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-msg-time {
  font-size: 0.68rem;
  color: var(--text-subtle);
  margin-top: 0.3rem;
  padding: 0 0.25rem;
}

.chat-msg.user .chat-msg-time {
  align-self: flex-end;
}

/* Action Buttons inside Bot Message */
.chat-action-container {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.chat-inline-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-primary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  text-align: left;
  text-decoration: none;
}

.chat-inline-btn:hover {
  background: var(--color-primary);
  color: #0a0b10;
}

/* Quick Replies Suggestions Bar */
.chat-suggestions-wrapper {
  flex-shrink: 0;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(18, 20, 30, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat-suggestions-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.chat-suggestions-wrapper:empty {
  display: none;
  padding: 0;
  border-top: none;
}

.chat-suggestion-chip {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45rem 0.85rem;
  min-height: 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
  user-select: none;
}

.chat-suggestion-chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.chat-suggestion-chip:active {
  transform: translateY(0);
}

/* Typing Indicator */
.chat-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 0.9rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
  animation: pulseTyping 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes pulseTyping {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Chat Input Bar */
.chat-footer {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input-field {
  flex-grow: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.1rem;
  color: var(--text-main);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.chat-input-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #0a0b10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.chat-disclaimer {
  font-size: 0.65rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 0.35rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  pointer-events: none;
}

.toast {
  background: #10b981;
  color: #ffffff;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. Enhanced CTA Buttons & Glowing Accents
   -------------------------------------------------------------------------- */
.btn-book-call {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 60%, #7c3aed 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--color-secondary-glow);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-book-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.6);
  color: #ffffff !important;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: inherit;
  filter: blur(10px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 0.85;
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--color-primary);
}

.btn-outline-gold:hover {
  background: var(--color-primary);
  color: #0a0b10;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

/* --------------------------------------------------------------------------
   19. Homepage Comprehensive Sections (What We Do, Who We Help, Value Prop)
   -------------------------------------------------------------------------- */
.home-section {
  padding: 4rem 0 1rem;
  position: relative;
}

.home-section-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 3.5rem 0 0;
  position: relative;
}

.home-section-divider::after {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-body);
  padding: 0 1rem;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* Quick What We Do Summary Grid */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.what-we-do-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.what-we-do-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.what-we-do-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.what-we-do-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  font-family: var(--font-display);
}

.what-we-do-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.what-we-do-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.what-we-do-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-subtle);
}

.what-we-do-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.what-we-do-link:hover {
  gap: 0.7rem;
  color: var(--color-primary-light);
}

/* Who We Help Section */
.who-we-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}

@media (max-width: 680px) {
  .who-we-help-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.audience-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.audience-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--color-secondary);
  border-color: rgba(139, 92, 246, 0.25);
}

.audience-icon.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--color-accent);
  border-color: rgba(6, 182, 212, 0.25);
}

.audience-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.audience-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-subtle);
  border: 1px solid var(--border-subtle);
}

.audience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.audience-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.audience-solutions-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-subtle);
}

.audience-solution-item {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-solution-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Value Proposition Grid */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.75rem;
  margin-top: 2.25rem;
}

@media (max-width: 680px) {
  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.value-prop-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.value-prop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow-glow);
}

.value-prop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.value-prop-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.value-prop-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.value-prop-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.value-prop-metric {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-gold);
  font-weight: 600;
}

/* Homepage Clear Triple-CTA Banner */
.homepage-cta-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.homepage-cta-banner::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
  top: -100px;
  right: -50px;
  pointer-events: none;
  border-radius: 50%;
}

.cta-banner-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.cta-banner-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.cta-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .cta-action-grid {
    grid-template-columns: 1fr;
  }
}

.cta-action-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.cta-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-primary);
}

.cta-action-card:nth-child(2) .cta-card-icon {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-secondary);
}

.cta-action-card:nth-child(3) .cta-card-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
}

.cta-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.cta-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cta-card-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   20. Book a Call Interactive Modal & Live Scheduler
   -------------------------------------------------------------------------- */
.booking-modal-card {
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.booking-existing-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.booking-existing-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.booking-step-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.booking-step-indicator.active {
  color: var(--text-gold);
  font-weight: 700;
}

.booking-step-indicator.completed {
  color: #10b981;
}

.booking-step-indicator .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: var(--bg-surface-elevated);
}

.booking-step-indicator.active .step-num {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.booking-step-indicator.completed .step-num {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.booking-step-line {
  width: 32px;
  height: 2px;
  background: var(--border-subtle);
}

.booking-scheduler-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 680px) {
  .booking-scheduler-layout {
    grid-template-columns: 1fr;
  }
}

/* Calendar Card */
.calendar-widget {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.calendar-month-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.calendar-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.calendar-weekdays .weekend-label {
  color: rgba(239, 68, 68, 0.75);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.calendar-day:hover:not(.disabled):not(.weekend) {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--color-secondary);
  color: #fff;
}

.calendar-day.today {
  border-color: var(--color-primary);
  font-weight: 700;
}

.calendar-day.selected {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 0 12px var(--color-secondary-glow);
  border-color: transparent !important;
}

.calendar-day.weekend {
  color: var(--text-subtle);
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through rgba(239, 68, 68, 0.4);
}

.calendar-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-day.other-month {
  opacity: 0.15;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.available {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.legend-dot.weekend {
  background: #ef4444;
}

/* Slots Widget */
.slots-widget {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.slots-header {
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.slots-date-display {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-gold);
}

.slots-tz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  margin-top: 0.35rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slots-tz-chip:hover {
  border-color: var(--color-secondary);
  color: var(--text-main);
}

.slots-scroll-area {
  flex: 1;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.slot-category-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.65rem 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.slot-category-title:first-child {
  margin-top: 0;
}

.slot-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.time-slot-pill {
  padding: 0.45rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 0.76rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.25;
}

.time-slot-pill .slot-pht-time {
  font-weight: 600;
}

.time-slot-pill .slot-local-sub {
  font-size: 0.68rem;
  color: var(--text-subtle);
  margin-top: 1px;
}

.time-slot-pill:hover:not(.booked) {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1);
}

.time-slot-pill.active {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.22);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.time-slot-pill.active .slot-local-sub {
  color: #fff;
  opacity: 0.9;
}

.time-slot-pill.booked {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.time-slot-pill.booked .slot-pht-time {
  text-decoration: line-through rgba(239, 68, 68, 0.5);
}

.slot-selection-status {
  font-size: 0.74rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
  text-align: center;
  min-height: 1.2em;
}

/* Step 2 Booking Summary Strip */
.booking-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.platform-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.platform-card-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.platform-card-mini:hover {
  border-color: var(--color-primary);
  color: var(--text-main);
}

.platform-card-mini input[type="radio"]:checked+span {
  color: var(--color-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   21. 4-Way Action Matrix & Free Brand Audit Modal
   -------------------------------------------------------------------------- */
.homepage-cta-banner {
  background: linear-gradient(145deg, rgba(20, 24, 38, 0.75) 0%, rgba(12, 14, 22, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-banner-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-banner-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-action-matrix-4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 1200px) {
  .cta-action-matrix-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 680px) {
  .cta-action-matrix-4col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.cta-matrix-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}

.cta-matrix-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.cta-matrix-card.featured {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}

.cta-matrix-card.featured-purple {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.12);
}

.cta-matrix-card.featured-cyan {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.12);
}

.cta-matrix-card.featured-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.cta-matrix-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-amber-bg {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purple-bg {
  background: rgba(139, 92, 246, 0.12);
  color: var(--color-secondary-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-cyan-bg {
  background: rgba(6, 182, 212, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-emerald-bg {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cta-matrix-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.cta-matrix-title {
  font-family: var(--font-body) !important;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: none !important;
  white-space: normal;
}

.cta-matrix-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cta-card-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.btn-audit {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-audit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.6);
  color: #ffffff !important;
}

/* Free Audit Modal Styling */
.audit-modal-card {
  max-width: 580px;
  padding: 2.5rem;
}

/* --------------------------------------------------------------------------
   11. UNIVERSAL CROSS-DEVICE RESPONSIVE OPTIMIZATIONS (Mobile, Tablet, Desktop)
   -------------------------------------------------------------------------- */

/* Prevent horizontal overflow on small devices */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

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

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }

  .about-brand-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .workflow-roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (<= 860px) */
@media (max-width: 860px) {
  .workflow-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .agency-comparison-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-matrix-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0.75rem 0.5rem;
    align-items: center;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-md);
  }

  .modal-card.modal-case-study {
    padding: 1.25rem 0.9rem !important;
  }

  .cs-modal-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    line-height: 1.25;
  }

  .cs-modal-client {
    font-size: 0.85rem;
  }

  .cs-badge-row {
    gap: 0.4rem;
  }

  .cs-image-header {
    margin-bottom: 1.25rem;
  }

  .cs-image-stage {
    min-height: 240px;
    height: clamp(240px, 60vw, 360px);
    padding: 0.85rem;
  }

  .cs-image-tagline {
    padding: 0.75rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .cs-image-tagline span:first-child {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .cs-ownership-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  .cs-results-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .cs-result-item {
    padding: 0.85rem 0.75rem;
  }

  .cs-result-num {
    font-size: 1.55rem;
  }

  .cs-two-col {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .cs-problem-card,
  .cs-solution-card,
  .cs-ba-box,
  .cs-deliverables-box,
  .cs-gallery-box,
  .cs-testimonial-box {
    padding: 1rem 0.9rem;
    margin-bottom: 1.15rem;
  }

  .ba-comparison-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .cs-deliverables-grid {
    grid-template-columns: 1fr !important;
  }

  .cs-actions {
    flex-direction: column !important;
    width: 100%;
    gap: 0.65rem;
  }

  .cs-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
  }

  /* Portfolio grid and toolbar on mobile */
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .portfolio-card {
    min-width: 0;
  }

  .portfolio-thumb-wrapper {
    height: clamp(190px, 48vw, 240px);
    padding: 0;
  }

  .portfolio-info {
    padding: 1.15rem 1rem;
  }

  .portfolio-title {
    font-size: 1.15rem;
  }

  /* About section brand card */
  .about-brand-showcase-card {
    padding: 1.25rem 1rem;
    margin-bottom: 2.25rem;
  }

  .about-mockup-preview-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .about-mockup-pill-card img {
    height: 90px;
    padding: 0.3rem;
  }

  .about-mockup-pill-card span {
    font-size: 0.68rem;
    padding: 0.35rem 0.2rem;
  }
}

/* Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  .about-mockup-preview-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .cs-mockup-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem;
  }

  .cs-mockup-thumb {
    height: 85px;
    padding: 0.25rem;
  }

  .cs-mockup-meta {
    padding: 0.4rem 0.45rem;
  }

  .cs-mockup-meta strong {
    font-size: 0.7rem;
  }

  .cs-mockup-meta span {
    font-size: 0.62rem;
  }

  .btn {
    min-height: 42px;
  }

  .tab-view {
    padding: 1.25rem 0.75rem 4.5rem;
  }
}

/* Extra Small Screens (<= 360px) */
@media (max-width: 360px) {
  .about-mockup-preview-strip {
    grid-template-columns: 1fr;
  }

  .cs-mockup-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Inquiry Automated Email Confirmation & Trust Badges
   -------------------------------------------------------------------------- */
.inquiry-email-guarantee-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md, 12px);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-email-guarantee-banner:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.12);
}

.inquiry-guarantee-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDotAnim 2s infinite ease-in-out;
}

@keyframes pulseDotAnim {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.inquiry-guarantee-body {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.inquiry-guarantee-icon-box {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--color-primary, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.form-email-confirm-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #10b981;
  margin-top: 0.38rem;
  font-weight: 500;
}

.form-email-confirm-hint svg {
  flex-shrink: 0;
  stroke: #10b981;
}

.form-submit-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  flex-wrap: wrap;
  text-align: center;
}

.form-submit-guarantees .highlight-check {
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.form-submit-guarantees .dot {
  color: var(--border-glass, rgba(255, 255, 255, 0.15));
}

/* ==========================================================================
   FEATURED LIVE PROJECT SPOTLIGHT: PURPOSE / STUDIO™ (create-with-purpose.vercel.app)
   ========================================================================== */
.portfolio-featured-spotlight,
.portfolio-card-flagship {
  grid-column: 1 / -1;
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.95), rgba(12, 14, 22, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl, 20px);
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.12);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.portfolio-featured-spotlight::before,
.portfolio-card-flagship::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 25% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.portfolio-featured-spotlight:hover,
.portfolio-card-flagship:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(245, 158, 11, 0.22);
}

.spotlight-content {
  position: relative;
  z-index: 1;
}

.spotlight-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.spotlight-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #10b981;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.spotlight-creator-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--color-accent);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
}

.spotlight-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.spotlight-desc {
  font-size: clamp(0.85rem, 1.5vw, 0.92rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.spotlight-metrics-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.35rem;
}

.spotlight-metric-item {
  display: flex;
  flex-direction: column;
}

.spotlight-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.spotlight-metric-lbl {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.spotlight-media {
  position: relative;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0d14;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.spotlight-media:hover .spotlight-img {
  transform: scale(1.05);
}

.spotlight-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 11, 16, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.spotlight-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--text-gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.spotlight-preview-badge:hover {
  background: var(--color-primary);
  color: #0a0b10;
  border-color: var(--color-primary);
}

@media (max-width: 900px) {

  .portfolio-featured-spotlight,
  .portfolio-card-flagship {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .spotlight-media {
    order: -1;
    max-height: 280px;
  }
}

/* Portfolio Card Live Badges & Quick Action Links */
.portfolio-live-chip {
  background: rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.portfolio-quick-live-btn {
  background: rgba(16, 185, 129, 0.95);
  color: #041f14;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  margin-top: 0.4rem;
}

.portfolio-quick-live-btn:hover {
  background: #10b981;
  transform: translateY(-2px);
  color: #000;
}

.card-inline-live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.card-inline-live-link:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #34d399;
}

/* Modal Live Deployment Header Chip & Action Button */
.cs-live-url-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #10b981;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.cs-live-url-chip:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  color: #34d399;
}

.cs-live-cta-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Team Member Live Project Badge (Jerome Cabinta Card) */
.team-member-project-badge {
  margin-top: 0.85rem;
  width: 100%;
}

.team-project-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.48rem 0.75rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.team-project-link-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--color-accent);
  color: #a5f3fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

/* Footer Bottom Bar Live Project Pill */
.bottom-live-project-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bottom-live-project-pill:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: var(--color-primary);
  color: #fef3c7;
  transform: translateY(-1px);
}

/* Marquee Link Hover Polish */
.marquee-link {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.marquee-link:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

/* ==========================================================================
   18. AUTHORITATIVE RESPONSIVE DESIGN SYSTEM (Mobile, Tablet, Desktop)
   Flawless cross-device fluid typography, natural document scrolling, 
   touch-safe spacing, modal stacking, and zero horizontal side-scrolling.
   ========================================================================== */

/* Universal Responsive Baselines */
html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

/* Ensure no child element causes horizontal blowout */
img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a {
  overflow-wrap: break-word;
}

/* Modal Stacking, Scroll Locks & Chatbot Deconfliction */
.modal-overlay {
  z-index: 100000 !important;
}

body.modal-open,
body.mobile-nav-locked,
body.chat-open {
  overflow: hidden !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
}

.modal-overlay,
.modal-card,
.nav-links,
.chatbot-window {
  touch-action: pan-y !important;
}

body.modal-open .chatbot-widget,
body:has(.modal-overlay.active) .chatbot-widget,
.modal-overlay.active~.chatbot-widget {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.9) !important;
}

/* Fast Tap & Touch Interaction Optimization */
button,
a,
select,
input,
textarea,
.calc-option-card,
.pf-service-option-card,
.pf-pill-option,
.faq-question-btn,
.nav-link,
.dropdown-item-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 18.1 Laptops, Tablets & Nav Drawer Viewport (<= 1180px) */
@media (max-width: 1180px) {
  /* CRITICAL: Remove backdrop-filter on header components on mobile to eliminate CSS containing block trap */
  .site-header-master,
  .site-header-master .top-announcement-bar,
  .site-header-master .site-header,
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header-master {
    background: rgba(8, 10, 16, 0.98) !important;
  }

  [data-theme="light"] .site-header-master {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .site-header-master .site-header {
    background: transparent !important;
  }

  /* True Viewport Fixed Navigation Drawer */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(88vw, 360px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    padding: max(1.25rem, env(safe-area-inset-top, 1.25rem)) 1.25rem max(2rem, env(safe-area-inset-bottom, 2rem)) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* True Viewport Fixed Backdrop Overlay */
  .mobile-nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99998 !important;
    background: rgba(0, 0, 0, 0.75) !important;
  }

  .mobile-menu-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .drawer-close-btn {
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .site-header {
    position: relative !important;
    top: auto !important;
    z-index: 100 !important;
  }

  .app-bottom-bar {
    position: static !important;
    height: auto !important;
    padding: 2rem 1.25rem !important;
  }

  .bottom-bar-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.15rem !important;
    text-align: center !important;
  }

  .bottom-bar-left,
  .bottom-bar-center,
  .bottom-bar-right {
    justify-content: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
}

/* 18.2 Tablets & iPads (<= 1024px) */
@media (max-width: 1024px) {
  .tab-view {
    padding: 1.5rem 1rem 3.5rem !important;
  }

  .modal-card {
    max-width: min(94vw, 720px) !important;
    max-height: 92vh !important;
    padding: 1.75rem 1.25rem !important;
  }
}

/* 18.3 Mobile & Phablets (<= 768px) */
@media (max-width: 768px) {

  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: auto !important;
    display: block !important;
    position: relative !important;
  }

  .site-header {
    position: relative !important;
    top: auto !important;
    z-index: 100 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .app-view-container {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    flex: none !important;
  }

  .tab-view {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
    touch-action: auto !important;
    padding: 1.25rem 0.75rem 2.5rem !important;
    scroll-margin-top: calc(var(--site-header-height, 100px) + 16px) !important;
  }

  .tab-view.active {
    display: block !important;
    transform: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  #mainContactForm,
  .contact-form-card,
  .calculator-box,
  .calc-summary-card {
    scroll-margin-top: calc(var(--site-header-height, 100px) + 20px) !important;
  }

  /* Prevent iOS Auto-Zoom on form controls */
  input,
  textarea,
  select,
  .form-control,
  .pf-input-control {
    font-size: 16px !important;
  }

  /* Bottom Bar Footer */
  .app-bottom-bar {
    position: static !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    margin-top: 2.5rem !important;
    padding: 2rem 1rem calc(6.5rem + env(safe-area-inset-bottom, 0px)) !important;
    background: var(--bg-surface) !important;
    border-top: 1px solid var(--border-subtle) !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
  }

  .bottom-bar-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.1rem !important;
    text-align: center !important;
    width: 100% !important;
  }

  .bottom-bar-left {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .bottom-motto {
    font-size: 0.85rem !important;
    text-align: center !important;
    line-height: 1.45 !important;
    color: var(--text-gold) !important;
  }

  .bottom-bar-right {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem 0.85rem !important;
    width: 100% !important;
  }

  .bottom-bar-center {
    display: none !important;
  }

  .bottom-fb-link {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.82rem !important;
  }

  .bottom-email-link {
    font-size: 0.84rem !important;
  }

  .bottom-copyright {
    display: block !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
    font-size: 0.75rem !important;
    color: var(--text-subtle) !important;
  }

  /* Floating Chatbot */
  .chatbot-widget {
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0.85rem)) !important;
    right: max(0.85rem, env(safe-area-inset-right, 0.85rem)) !important;
    z-index: 9999 !important;
  }

  .chatbot-trigger-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 1.2rem !important;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4) !important;
  }

  .chatbot-trigger-btn .chat-trigger-logo {
    width: 26px !important;
    height: 26px !important;
  }

  .chatbot-unread-badge {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.65rem !important;
    top: -2px !important;
    right: -2px !important;
  }

  .chatbot-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 100001 !important;
    transform-origin: bottom center !important;
  }

  /* Modal Dialogs */
  .modal-overlay {
    padding: max(0.75rem, env(safe-area-inset-top, 0.75rem)) max(0.5rem, env(safe-area-inset-right, 0.5rem)) max(0.75rem, env(safe-area-inset-bottom, 0.75rem)) max(0.5rem, env(safe-area-inset-left, 0.5rem)) !important;
    z-index: 100000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-card {
    margin: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 1.5rem) !important;
    max-height: calc(100vh - 1.5rem) !important;
    padding: 1.25rem 0.95rem !important;
    border-radius: var(--radius-md) !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
  }

  .modal-close-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    top: 0.85rem !important;
    right: 0.85rem !important;
  }

  /* Booking modal scheduler */
  .booking-scheduler-layout {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  /* Universal iOS & Android Form Controls (Auto-Zoom Prevention & Appearance Reset) */
  input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="search"],
  input[type="date"],
  select,
  textarea,
  .chat-input-field {
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--radius-sm);
  }
}

/* 18.4 Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem !important;
  }

  .brand-text-agency {
    display: none !important;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.18 !important;
  }

  .section-title {
    font-size: clamp(1.6rem, 7.5vw, 2.15rem) !important;
    line-height: 1.22 !important;
  }

  .calendar-widget {
    padding: 0.75rem 0.5rem !important;
  }

  .calendar-days-grid {
    gap: 3px !important;
  }

  .calendar-day {
    font-size: 0.78rem !important;
  }

  .time-slot-pill {
    padding: 0.45rem 0.25rem !important;
    font-size: 0.74rem !important;
  }

  .slot-pills-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
  }

  .feedback-category-grid {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* 18.5 Ultra-Compact Mobile / Foldables (<= 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 0.65rem !important;
  }

  .modal-card {
    padding: 1.1rem 0.65rem !important;
  }

  .calendar-widget {
    padding: 0.6rem 0.35rem !important;
  }

  .calendar-days-grid {
    gap: 2px !important;
  }

  .calendar-day {
    font-size: 0.72rem !important;
    border-radius: 4px !important;
  }

  .calendar-weekdays {
    font-size: 0.66rem !important;
  }

  .booking-step-indicators {
    gap: 0.35rem !important;
  }

  .booking-step-indicator {
    font-size: 0.72rem !important;
    gap: 0.3rem !important;
  }

  .booking-step-indicator .step-num {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.68rem !important;
  }

  .booking-step-line {
    width: 14px !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .brand-logo-img-box {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ==========================================================================
   GLOBAL ACCESSIBLE FOCUS-VISIBLE SYSTEM
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-primary, #f59e0b) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45) !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary, #f59e0b) !important;
  outline-offset: 2px !important;
}

/* ==========================================================================
   STRATEGIC ARTICLE READER MODAL STYLES
   ========================================================================== */
.article-modal-card {
  max-width: 820px !important;
  width: 94% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: clamp(1.5rem, 4vw, 2.75rem) !important;
  background: #0d111c !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: var(--radius-lg, 16px) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

.article-reader-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-reader-meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.article-reader-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.article-reader-title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #f8fafc;
  margin: 0 0 0.65rem;
}

.article-reader-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 1.25rem;
}

.article-reader-author-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md, 12px);
}

.article-reader-author-strip .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #07090e;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-reader-author-strip .author-name {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.92rem;
}

.article-reader-author-strip .author-role {
  font-size: 0.78rem;
  color: var(--color-primary, #f59e0b);
}

.article-reader-media {
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  max-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-reader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-reader-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 680px) {
  .article-reader-highlights {
    grid-template-columns: 1fr;
  }
}

.article-highlight-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md, 12px);
  padding: 1.1rem;
  text-align: center;
}

.article-highlight-box .highlight-num {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary, #f59e0b);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.article-highlight-box .highlight-lbl {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.35;
}

.article-reader-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 0.98rem;
}

.article-section-h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.25rem;
  color: #f8fafc;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-paragraph {
  margin: 0 0 0.75rem;
  color: #cbd5e1;
}

.article-checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: #e2e8f0;
}

.article-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
}

.article-reader-footer-box {
  background: linear-gradient(135deg, rgba(26, 30, 46, 0.8) 0%, rgba(13, 15, 23, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   TRANSPARENT LEGAL MODAL STYLES
   ========================================================================== */
.legal-modal-card {
  max-width: 760px !important;
  width: 94% !important;
  max-height: 88vh !important;
  overflow-y: auto !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  background: #0d111c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-lg, 16px) !important;
}

.legal-tab-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.legal-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.09);
}

.legal-tab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--color-primary, #f59e0b);
  color: var(--color-primary, #f59e0b);
  font-weight: 700;
}

.legal-modal-body {
  padding-top: 1rem;
  max-height: 52vh;
  overflow-y: auto;
}

.legal-doc-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-doc-title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.3rem;
  color: #f8fafc;
  margin: 0;
}

.legal-updated {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin: -0.5rem 0 0.5rem;
}

.legal-doc-section h5 {
  font-size: 0.95rem;
  color: var(--color-primary, #f59e0b);
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.legal-doc-section p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

.legal-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   REVIEWS FILTER BAR & SUBMISSION BUTTON STYLES
   ========================================================================== */
.reviews-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.reviews-filter-pills-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.leave-review-action-btn {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid var(--color-primary, #f59e0b);
  color: var(--color-primary, #f59e0b);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.leave-review-action-btn:hover {
  background: var(--color-primary, #f59e0b);
  color: #07090e;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}