/* 
 * L Printing - Style Sheet (Premium UX/UI)
 * Aesthetic Concept: Futuristic Space Black with Neon CMYK accents (Cyan, Magenta, Yellow)
 * Typography: Outfit & Plus Jakarta Sans
 */

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

/* ==========================================
   VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  /* Colors */
  --bg-dark: #07070a;
  --bg-card: rgba(15, 15, 23, 0.65);
  --bg-nav: rgba(7, 7, 10, 0.75);
  
  /* CMYK Neon Colors */
  --cmyk-cyan: #00f0ff;
  --cmyk-magenta: #ff007f;
  --cmyk-yellow: #ffe500;
  --cmyk-black: #0d0d12;
  
  /* Glow Effects */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
  --glow-magenta: 0 0 20px rgba(255, 0, 127, 0.35);
  --glow-yellow: 0 0 20px rgba(255, 229, 0, 0.35);
  --glow-white: 0 0 15px rgba(255, 255, 255, 0.2);
  
  /* Text Colors */
  --text-main: #f8f9fa;
  --text-muted: #9ba0b0;
  --text-dark: #0a0a0d;
  
  /* Gradients */
  --grad-cyan-magenta: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-magenta));
  --grad-magenta-yellow: linear-gradient(135deg, var(--cmyk-magenta), var(--cmyk-yellow));
  --grad-cyan-yellow: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-yellow));
  --grad-cmyk: linear-gradient(90deg, var(--cmyk-cyan) 0%, var(--cmyk-magenta) 50%, var(--cmyk-yellow) 100%);
  --grad-dark: linear-gradient(180deg, #07070a 0%, #111116 100%);
  
  /* Typography */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--grad-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--cmyk-cyan), var(--cmyk-magenta));
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--cmyk-cyan), var(--cmyk-magenta), var(--cmyk-yellow));
}

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

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

section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* ==========================================
   BACKGROUNDS & DECORATIVE ELEMENTS
   ========================================== */
/* Fixed-layer container for ambient decor — sits behind all content */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Subtle CMYK mesh wash painted as a fixed gradient layer */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(at 18% 22%, rgba(0, 240, 255, 0.10) 0%, transparent 55%),
    radial-gradient(at 82% 68%, rgba(255, 0, 127, 0.10) 0%, transparent 55%),
    radial-gradient(at 50% 95%, rgba(255, 229, 0, 0.06) 0%, transparent 60%);
}

/* Faint dot grid for a print-press texture, masked to fade at the edges */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  opacity: 0.7;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.22;
  will-change: transform;
}

.glow-orb-cyan {
  width: 460px;
  height: 460px;
  background: var(--cmyk-cyan);
  top: 8%;
  left: -8%;
  animation: orb-drift-a 18s ease-in-out infinite alternate;
}

.glow-orb-magenta {
  width: 520px;
  height: 520px;
  background: var(--cmyk-magenta);
  bottom: 12%;
  right: -10%;
  animation: orb-drift-b 22s ease-in-out infinite alternate;
}

.glow-orb-yellow {
  width: 340px;
  height: 340px;
  background: var(--cmyk-yellow);
  top: 48%;
  left: 38%;
  opacity: 0.18;
  animation: orb-drift-c 26s ease-in-out infinite alternate;
}

.glow-orb-cyan-2 {
  width: 360px;
  height: 360px;
  background: var(--cmyk-cyan);
  top: 65%;
  left: 8%;
  opacity: 0.16;
  animation: orb-drift-d 30s ease-in-out infinite alternate;
}

@keyframes orb-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, 60px, 0) scale(1.08); }
}
@keyframes orb-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-90px, -70px, 0) scale(1.1); }
}
@keyframes orb-drift-c {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 80px, 0) scale(1.12); }
}
@keyframes orb-drift-d {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(70px, -60px, 0) scale(1.06); }
}

/* ==========================================
   NAVBAR (GLASSMORPHISM)
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.15));
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
  height: 36px;
}

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

.nav-item a {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-magenta);
  transition: var(--transition-smooth);
}

.nav-item a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--cmyk-cyan);
  text-shadow: var(--glow-cyan);
}

.btn-nav {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--cmyk-cyan);
  color: var(--cmyk-cyan);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav:hover {
  background: var(--cmyk-cyan);
  color: var(--text-dark);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1001;
}

/* ==========================================
   BUTTONS & TYPOGRAPHY UTILITIES
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient-cmyk {
  background: var(--grad-cmyk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #fff, var(--cmyk-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-magenta {
  background: linear-gradient(90deg, #fff, var(--cmyk-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.section-tag.cyan {
  color: var(--cmyk-cyan);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.section-tag.magenta {
  color: var(--cmyk-magenta);
  border-color: rgba(255, 0, 127, 0.2);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.05);
}

.section-tag.yellow {
  color: var(--cmyk-yellow);
  border-color: rgba(255, 229, 0, 0.2);
  box-shadow: 0 0 15px rgba(255, 229, 0, 0.05);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 60px;
  font-weight: 400;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary-glow {
  background: var(--grad-cyan-magenta);
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.25), 0 0 30px rgba(0, 240, 255, 0.25);
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 0, 127, 0.4), 0 0 40px rgba(0, 240, 255, 0.4);
}

.btn-primary-glow:hover::before {
  left: 100%;
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: blur(5px);
}

.btn-secondary-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  padding: 1px;
  background: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-yellow));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  border-color: transparent;
}

.btn-secondary-outline:hover::after {
  opacity: 1;
}

/* ==========================================
   HERO SECTION (3D IMMERSIVE EXPERIENCE)
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cmyk-cyan);
  margin-bottom: 24px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: var(--glow-cyan);
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background: var(--cmyk-magenta);
  border-radius: 50%;
  animation: blink 1s infinite alternate;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* 3D Visual - Overlapping Creative Color Prism */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Creative 3D Color Wheel/Prism in Hero */
.prism-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: rotate-prism 20s linear infinite;
  cursor: pointer;
}

.prism-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  mix-blend-mode: screen;
  transition: var(--transition-smooth);
}

.prism-cyan {
  background: radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.15), transparent 70%);
  border: 2px solid var(--cmyk-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateZ(30px) rotateX(20deg) rotateY(15deg);
}

.prism-magenta {
  background: radial-gradient(circle at 30% 30%, rgba(255, 0, 127, 0.15), transparent 70%);
  border: 2px solid var(--cmyk-magenta);
  box-shadow: var(--glow-magenta);
  transform: translateZ(0px) rotateX(-15deg) rotateY(20deg);
}

.prism-yellow {
  background: radial-gradient(circle at 30% 30%, rgba(255, 229, 0, 0.1), transparent 70%);
  border: 2px solid var(--cmyk-yellow);
  box-shadow: var(--glow-yellow);
  transform: translateZ(-30px) rotateX(10deg) rotateY(-25deg);
}

.prism-core {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(7, 7, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateZ(60px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--glow-white);
  backdrop-filter: blur(10px);
  z-index: 5;
  text-align: center;
  animation: counter-rotate-prism 20s linear infinite;
}

.core-tag {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cmyk-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.core-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

@keyframes rotate-prism {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes counter-rotate-prism {
  0% { transform: translateZ(60px) rotate(0deg); }
  100% { transform: translateZ(60px) rotate(-360deg); }
}

/* Secondary Floating Elements */
.floating-element {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.float-sphere-1 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cmyk-cyan));
  border-radius: 50%;
  top: 15%;
  right: 15%;
  filter: drop-shadow(var(--glow-cyan));
  animation: float 5s ease-in-out infinite alternate;
}

.float-cone-1 {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid var(--cmyk-magenta);
  top: 60%;
  left: 10%;
  filter: drop-shadow(var(--glow-magenta));
  animation: float 7s ease-in-out infinite alternate-reverse;
  transform: rotate(35deg);
}

/* ==========================================
   INTERACTIVE SEARCHABLE SERVICES SECTION
   ========================================== */
.services-search {
  background: var(--bg-dark);
  position: relative;
  z-index: 5;
}

/* Premium Search Bar for Services Catalog */
.search-bar-container {
  display: flex;
  align-items: center;
  background: rgba(15, 15, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 8px 28px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 40px;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-bar-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50px;
  padding: 1.5px;
  background: var(--grad-cmyk);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.search-bar-container:focus-within {
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.search-bar-container:focus-within::after {
  opacity: 0.75;
}

.search-icon {
  color: var(--cmyk-cyan);
  margin-right: 15px;
  width: 22px;
  height: 22px;
}

#service-search-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
  padding: 12px 0;
}

#service-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition-fast);
  opacity: 0;
  pointer-events: none;
}

.clear-search-btn.show {
  opacity: 1;
  pointer-events: all;
}

.clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Service Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  transition: var(--transition-smooth);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 45px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* CMYK Themed Service Accent lines */
.service-card.cyan-accent:hover::after {
  background: linear-gradient(135deg, var(--cmyk-cyan), transparent 60%);
}
.service-card.magenta-accent:hover::after {
  background: linear-gradient(135deg, var(--cmyk-magenta), transparent 60%);
}
.service-card.yellow-accent:hover::after {
  background: linear-gradient(135deg, var(--cmyk-yellow), transparent 60%);
}
.service-card.white-accent:hover::after {
  background: linear-gradient(135deg, #fff, transparent 60%);
}

.service-icon-box {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.service-card.cyan-accent .service-icon-box {
  color: var(--cmyk-cyan);
  border-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
}
.service-card.magenta-accent .service-icon-box {
  color: var(--cmyk-magenta);
  border-color: rgba(255, 0, 127, 0.15);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.08);
}
.service-card.yellow-accent .service-icon-box {
  color: var(--cmyk-yellow);
  border-color: rgba(255, 229, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 229, 0, 0.08);
}
.service-card.white-accent .service-icon-box {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.service-features li i {
  font-size: 1rem;
}
.service-card.cyan-accent .service-features li i { color: var(--cmyk-cyan); }
.service-card.magenta-accent .service-features li i { color: var(--cmyk-magenta); }
.service-card.yellow-accent .service-features li i { color: var(--cmyk-yellow); }
.service-card.white-accent .service-features li i { color: #fff; }

/* Filter Tags Controls */
.portfolio-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.filter-btn.active {
  background: var(--text-main);
  color: var(--text-dark);
  border-color: var(--text-main);
  box-shadow: var(--glow-white);
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery {
  background: rgba(7, 7, 10, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.gallery-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: rgba(15, 15, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

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

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 10, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-card-badge {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cmyk-cyan);
  margin-bottom: 8px;
}

.gallery-card-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.gallery-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.gallery-empty i {
  width: 42px;
  height: 42px;
  display: inline-block;
  margin-bottom: 10px;
  opacity: 0.6;
}

.gallery-empty p {
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox:not([hidden]) {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.lightbox figcaption {
  color: var(--text-main);
  font-family: var(--font-headings);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--cmyk-cyan);
  color: var(--text-dark);
  border-color: var(--cmyk-cyan);
  box-shadow: var(--glow-cyan);
}

/* ==========================================
   CLIENTS / MARQUEE SECTION
   ========================================== */
.clients {
  background: rgba(7, 7, 10, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.clients-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.clients-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: clients-scroll 60s linear infinite;
}

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

@keyframes clients-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.client-card {
  flex: 0 0 auto;
  min-width: 220px;
  height: 110px;
  background: rgba(15, 15, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.client-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.client-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 23, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.client-card:hover::after {
  opacity: 1;
}

.client-name {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
  color: var(--text-main);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

/* Brand-tinted gradient on hover, themed per client */
.client-card[data-client="pepsico"]:hover .client-name {
  background: linear-gradient(135deg, #0E4595, #E32934);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="dominos"]:hover .client-name {
  background: linear-gradient(135deg, #006491, #E31837);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="subway"]:hover .client-name {
  background: linear-gradient(135deg, #008C15, #FFC600);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="gobierno"]:hover .client-name {
  background: linear-gradient(135deg, #C8102E, #1B6E3A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="petroseven"]:hover .client-name {
  background: linear-gradient(135deg, #E10A1A, #FFD500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="conalep"]:hover .client-name {
  background: linear-gradient(135deg, #00A859, #0072CE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="iee"]:hover .client-name {
  background: linear-gradient(135deg, #6B3FA0, #C8102E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="uach"]:hover .client-name {
  background: linear-gradient(135deg, #006338, #FFC72C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="moderna"]:hover .client-name {
  background: linear-gradient(135deg, #E63946, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client-card[data-client="berun"]:hover .client-name {
  background: linear-gradient(135deg, #0AA1DD, #2F2E41);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* "+ Muchos Más" — keep the CMYK gradient permanently as a teaser card */
.client-card-more {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 15, 23, 0.35);
}
.client-card-more .client-name {
  background: var(--grad-cmyk);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem;
  letter-spacing: 0;
}
.client-card-more:hover {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================
   ABOUT / HUD GRAPHICS SECTION
   ========================================== */
/* Industrial Tech Dashboard in About */
.hud-dashboard {
  background: rgba(15, 15, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 35px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: float-hud 6s ease-in-out infinite;
}

.hud-dashboard::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-yellow));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.35;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 25px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hud-active-glow {
  color: var(--cmyk-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: var(--glow-cyan);
}

.hud-active-glow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cmyk-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
  animation: blink 1s infinite alternate;
}

.hud-towers {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 180px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.hud-tower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  justify-content: flex-end;
  width: 45px;
}

.hud-bar {
  width: 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  height: 120px;
}

.hud-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transform-origin: bottom;
  animation: fill-bar 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hud-tower.cyan .hud-bar::after {
  background: linear-gradient(to top, rgba(0, 240, 255, 0.3), var(--cmyk-cyan));
  box-shadow: var(--glow-cyan);
}

.hud-tower.magenta .hud-bar::after {
  background: linear-gradient(to top, rgba(255, 0, 127, 0.3), var(--cmyk-magenta));
  box-shadow: var(--glow-magenta);
}

.hud-tower.yellow .hud-bar::after {
  background: linear-gradient(to top, rgba(255, 229, 0, 0.3), var(--cmyk-yellow));
  box-shadow: var(--glow-yellow);
}

.hud-tower.black .hud-bar::after {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), #8f8f9e);
  box-shadow: var(--glow-white);
}

.hud-tower span {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
}

.hud-tower.cyan span { color: var(--cmyk-cyan); }
.hud-tower.magenta span { color: var(--cmyk-magenta); }
.hud-tower.yellow span { color: var(--cmyk-yellow); }
.hud-tower.black span { color: #f8f9fa; }

.hud-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
}

.hud-metric {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.hud-metric:first-child .metric-val { color: var(--cmyk-cyan); text-shadow: var(--glow-cyan); }
.hud-metric:last-child .metric-val { color: var(--cmyk-magenta); text-shadow: var(--glow-magenta); }

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes fill-bar {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

@keyframes float-hud {
  0% { transform: translateY(0) rotateX(2deg); }
  50% { transform: translateY(-12px) rotateX(0deg); }
  100% { transform: translateY(0) rotateX(2deg); }
}

/* ==========================================
   CONTACT & LOCATION SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  background: rgba(15, 15, 23, 0.85);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-card:nth-child(1) .contact-info-icon { color: var(--cmyk-cyan); border-color: rgba(0, 240, 255, 0.2); }
.contact-info-card:nth-child(2) .contact-info-icon { color: var(--cmyk-magenta); border-color: rgba(255, 0, 127, 0.2); }
.contact-info-card:nth-child(3) .contact-info-icon { color: var(--cmyk-yellow); border-color: rgba(255, 229, 0, 0.2); }

.contact-info-title {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact-info-value a:hover {
  color: var(--cmyk-cyan);
}

/* Map Container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Contact Form Premium */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-magenta));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.25;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-smooth);
  background: transparent;
}

textarea ~ .form-label {
  top: 24px;
}

/* Floating Label Effects */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cmyk-cyan);
  background: #111116;
  padding: 0 8px;
}

.form-input:focus {
  border-color: var(--cmyk-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

/* Force readable contrast on native <select> dropdown options */
select.form-input option,
.admin-field select option {
  background: #111116;
  color: #f8f9fa;
  padding: 8px 12px;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* ==========================================
   WHATSAPP PREMIUM WIDGET
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-button-trigger {
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  border: none;
  outline: none;
  transition: var(--transition-smooth);
  animation: pulse-green 2.4s infinite;
  position: relative;
  z-index: 2;
}

.whatsapp-button-trigger svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  display: block;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.whatsapp-button-trigger:hover {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Simulated Chat Window */
.whatsapp-chat-window {
  position: absolute;
  bottom: calc(100% + 15px);
  right: 0;
  width: 360px;
  background: #0f1016;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(40px) scale(0.85);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: var(--transition-smooth);
}

.whatsapp-chat-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, #1b281f 0%, #0d120f 100%);
  border-bottom: 1px solid rgba(37, 211, 102, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #25d366;
  position: relative;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  color: var(--cmyk-cyan);
  font-family: var(--font-headings);
}

.agent-info-text {
  display: flex;
  flex-direction: column;
}

.agent-name {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.agent-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: #fff;
}

.chat-body {
  padding: 20px;
  background: #08080c;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 250px;
  overflow-y: auto;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  max-width: 85%;
  line-height: 1.4;
  position: relative;
}

.chat-bubble.agent {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-main);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.chat-bubble.user {
  background: #1b4d2c;
  color: #fff;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.chat-bubble-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  margin-top: 5px;
  display: block;
}

.chat-bubble.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1s infinite alternate;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-footer {
  padding: 15px 20px;
  background: #0f1016;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.chat-submit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.chat-submit-link:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================
   PREMIUM INFO MODALS (PRIVACY & TERMS)
   ========================================== */
.footer-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.footer-modal-btn:hover {
  color: var(--cmyk-magenta);
  text-shadow: 0 0 5px rgba(255, 0, 127, 0.2);
}

.info-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.info-modal.active {
  opacity: 1;
  pointer-events: all;
}

.info-modal-container {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 45px;
  width: 90%;
  max-width: 650px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.info-modal-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--cmyk-cyan), var(--cmyk-magenta));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.35;
}

.info-modal.active .info-modal-container {
  transform: scale(1);
}

.info-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.info-modal-close:hover {
  background: var(--cmyk-magenta);
  color: var(--text-dark);
  box-shadow: var(--glow-magenta);
}

.info-modal-title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.info-modal-body {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 15px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
}

.info-modal-body h4 {
  color: var(--cmyk-cyan);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-modal-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.info-modal-body p {
  margin-bottom: 15px;
}

.info-modal-body::-webkit-scrollbar {
  width: 6px;
}

.info-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.info-modal-body::-webkit-scrollbar-thumb {
  background: var(--cmyk-cyan);
  border-radius: 3px;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background: #060609;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 70px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 38px;
  width: auto;
  align-self: flex-start;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--text-main);
  color: var(--text-dark);
  border-color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: var(--glow-white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--cmyk-cyan);
  padding-left: 5px;
}

.footer-hours-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 20px;
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  padding-bottom: 6px;
}
.footer-hours-list li:last-child {
  border: none;
  padding-bottom: 0;
}

.footer-hours-list span:first-child {
  color: var(--text-muted);
}

.footer-hours-list span:last-child {
  font-weight: 600;
  color: var(--cmyk-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright span {
  color: var(--cmyk-cyan);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--cmyk-magenta);
}

/* ==========================================
   REVEAL ON SCROLL (IntersectionObserver-driven)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Safety net: if JS fails to attach the observer for any reason, after a
   short delay reveal targets snap to visible so content is never hidden
   permanently. */
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal:not(.in-view) {
  animation: reveal-fallback 0.01s linear 2.5s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(5%, 5%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes blink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes typing-bounce {
  0% { transform: translateY(0); opacity: 0.4; }
  100% { transform: translateY(-6px); opacity: 1; }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }


  .hero-title {
    font-size: 3.5rem;
  }

  .services-grid {
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* About section: the inline grid-template-columns from HTML needs to be
     overridden here so the dashboard and text don't fight for space on
     medium screens before the full mobile stack kicks in. */
  .about .hero-grid[style] {
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* Mobile Navigation Toggle Button */
  .mobile-menu-btn {
    display: block;
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: #07070a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    z-index: 999;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links.active {
    left: 0;
  }

  /* CTA in the top nav is redundant on mobile: hamburger contains the menu
     and a floating WhatsApp widget is always pinned bottom-right. Hide it
     to free up space for the logo + hamburger. */
  .btn-nav {
    display: none;
  }

  /* Tighter padding on the navbar so logo + hamburger sit cleanly */
  .navbar-container {
    width: 92%;
  }
  
  /* Hero Responsive */
  .hero-grid,
  .about .hero-grid[style] {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 50px !important;
  }

  .hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
  }

  .hero-description {
    margin: 0 auto 35px;
    font-size: 1.05rem;
  }

  /* About inline 2-col features grid → stack */
  #about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    text-align: left;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .btn-premium {
    width: 100%;
    justify-content: center;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .prism-container {
    width: 280px;
    height: 280px;
  }
  
  .prism-circle {
    width: 200px;
    height: 200px;
  }
  
  .prism-core {
    width: 110px;
    height: 110px;
  }
  
  .core-title {
    font-size: 0.8rem;
  }
  
  .float-sphere-1 {
    width: 45px;
    height: 45px;
    top: 5%;
    right: 10%;
  }
  
  .float-cone-1 {
    top: 75%;
    left: 5%;
  }
  
  /* Services & Search Responsive */
  .search-bar-container {
    padding: 6px 18px;
    margin-bottom: 30px;
  }

  #service-search-input {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-title {
    font-size: 1.45rem;
  }

  .service-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Filter chips slightly more compact on mobile */
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
  }

  .portfolio-controls {
    gap: 10px;
    margin-bottom: 30px;
  }

  /* Gallery responsive */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-card { aspect-ratio: 16 / 11; }
  .gallery-card-overlay { opacity: 1; }
  .lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }

  /* Clients marquee — slightly tighter cards on small screens */
  .client-card {
    min-width: 170px;
    height: 90px;
    padding: 0 20px;
  }

  .client-name {
    font-size: 1.15rem;
  }

  .clients-track {
    gap: 16px;
  }
  
  /* About Dashboard Responsive */
  .hud-dashboard {
    padding: 24px;
    max-width: 100%;
  }
  
  .hud-towers {
    height: 140px;
  }
  
  .hud-bar {
    height: 90px;
  }
  
  /* Contact Responsive */
  .contact-form-wrapper {
    padding: 30px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Footer Responsive */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  /* WhatsApp Widget Responsive */
  .whatsapp-widget {
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-button-trigger {
    width: 56px;
    height: 56px;
  }

  .whatsapp-button-trigger svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-chat-window {
    width: calc(100vw - 36px);
    max-width: 340px;
    right: 0;
  }
  
  /* Info Modals Responsive */
  .info-modal-container {
    padding: 25px;
  }
  
  .info-modal-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .info-modal-close {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }
}
