/* =========================================================
   Namzic Printing Services – Premium 2026 Stylesheet
   Enterprise-Level Design System
   ========================================================= */

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

:root {
  /* Primary Brand Colors */
  --primary: #E63329;
  --primary-dark: #C41E14;
  --primary-light: #FF4D42;
  --primary-glow: rgba(230, 51, 41, 0.15);
  
  /* Premium Dark Palette */
  --dark: #0A0F1C;
  --dark-elevated: #111827;
  --dark-surface: #1A2332;
  --dark-border: #2A3548;
  
  /* Light Palette */
  --light: #F8FAFC;
  --light-elevated: #FFFFFF;
  --light-muted: #F1F5F9;
  
  /* Accent Colors */
  --accent: #FF6B35;
  --accent-gold: #D4AF37;
  --accent-cyan: #00D4FF;
  --accent-emerald: #10B981;
  
  /* Neutral Gray Scale */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* System */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows - Premium Layered */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 60px rgba(230, 51, 41, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration: 0.3s;
  --duration-slow: 0.5s;
  
  /* Typography Scale */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 2rem;
  --font-4xl: 2.5rem;
  --font-5xl: 3.5rem;
  --font-6xl: 4.5rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

/* ── BASE STYLES ── */
html { 
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--light);
  overflow-x: hidden;
}

/* Premium Image Handling */
img { 
  max-width: 100%; 
  height: auto; 
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

a { 
  color: var(--primary); 
  text-decoration: none; 
  transition: all var(--duration) var(--ease-out);
}
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

::selection {
  background: var(--primary);
  color: white;
}

/* Focus States - Accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── CONTAINER ── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 1400px) {
  .container { max-width: 1400px; }
}

/* ── TYPOGRAPHY - Premium 2026 ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, var(--font-6xl)); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, var(--font-4xl)); font-weight: 700; }
h3 { font-size: var(--font-2xl); font-weight: 700; }
h4 { font-size: var(--font-xl); font-weight: 600; }
h5 { font-size: var(--font-lg); font-weight: 600; }

.overline {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.overline::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ── BUTTONS - Premium Glass Morphism ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-size: var(--font-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(230, 51, 41, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 51, 41, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  color: white;
}

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

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 51, 41, 0.3);
}

.btn--dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-elevated) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: white;
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: white;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--font-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-xs);
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ── TOP BAR - Premium Minimal ── */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-xs);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.topbar span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.topbar__right a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar__right a:hover { color: white; }

.btn-whatsapp-sm {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white !important;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── NAVBAR - Premium Glass Effect ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.navbar__logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}

.logo-namzic {
  font-family: 'Sora', sans-serif;
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.logo-tag {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(230, 51, 41, 0.1) 0%, rgba(230, 51, 41, 0.05) 100%);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  border: 1px solid rgba(230, 51, 41, 0.15);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__links li a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-out);
}

.navbar__links li a:hover,
.navbar__links li a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.navbar__links .btn {
  margin-left: var(--space-4);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius);
  transition: background var(--duration);
}

.navbar__toggle:hover {
  background: var(--gray-100);
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--duration) var(--ease-out);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── FLASH MESSAGES ── */
.flash {
  padding: var(--space-4) 0;
  font-size: var(--font-sm);
  font-weight: 500;
  animation: slideDown 0.4s var(--ease-out);
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.flash .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.flash--success {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #065F46;
  border-bottom: 1px solid rgba(6, 95, 70, 0.1);
}

.flash--error {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  color: #991B1B;
  border-bottom: 1px solid rgba(153, 27, 27, 0.1);
}

.flash--info {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #1E40AF;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.flash__close {
  background: none;
  border: none;
  font-size: var(--font-xl);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--duration);
  line-height: 1;
}

.flash__close:hover { opacity: 1; }

/* ── SECTION UTILITIES ── */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section--gray {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--light) 100%);
}

.section--dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(230, 51, 41, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 212, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.section--dark h2, .section--dark h3, .section--dark h4 { color: white; }

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
  position: relative;
}

.section__header h2 {
  margin-bottom: var(--space-4);
}

.section__header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--font-lg);
  line-height: 1.7;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.6);
}

.section__header .overline {
  margin-bottom: var(--space-4);
  display: inline-flex;
}

/* ── HERO - Premium 2026 ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 50%, var(--dark-elevated) 100%);
  color: white;
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Premium Background Effects */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(230, 51, 41, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(230, 51, 41, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 620px;
}

.hero__overline {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__overline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: var(--space-6);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--font-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
  line-height: 1.8;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 51, 41, 0.1) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan), var(--primary));
  z-index: -1;
  border-radius: calc(var(--radius-2xl) + 2px);
  opacity: 0.5;
  filter: blur(20px);
}

.hero__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero__image:hover img {
  transform: scale(1.02);
}

/* Floating elements */
.hero__float {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ── STATS BAR - Premium Glassmorphism ── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  position: relative;
}

.stat-item__number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, white 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  font-size: var(--font-sm);
  opacity: 0.85;
  font-weight: 500;
  margin-top: var(--space-1);
}

/* ── SERVICES GRID - Premium Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--duration);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(230, 51, 41, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%);
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card__img img {
  transform: scale(1.08);
}

.service-card__body {
  padding: var(--space-8);
}

.service-card__body h3 {
  font-size: var(--font-xl);
  margin-bottom: var(--space-3);
  color: var(--dark);
}

.service-card__body p {
  font-size: var(--font-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.service-card__price {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-glow);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

/* ── PORTFOLIO - Masonry Style ── */
.portfolio-filters {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  justify-content: center;
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: white;
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  color: var(--gray-600);
  font-family: inherit;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(230, 51, 41, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 28, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__overlay h4 {
  color: white;
  font-size: var(--font-lg);
  margin-bottom: var(--space-1);
}

.portfolio-item__overlay span {
  color: var(--primary);
  font-size: var(--font-sm);
  font-weight: 600;
}

/* ── TESTIMONIALS - Premium Cards ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--gray-100);
}

.section--dark .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card__stars {
  color: #F59E0B;
  margin-bottom: var(--space-4);
  font-size: var(--font-sm);
  display: flex;
  gap: 2px;
}

.testimonial-card__text {
  color: var(--gray-600);
  font-size: var(--font-base);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.section--dark .testimonial-card__text {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__author strong {
  display: block;
  font-weight: 600;
  color: var(--dark);
}

.section--dark .testimonial-card__author strong {
  color: white;
}

.testimonial-card__author span {
  font-size: var(--font-sm);
  color: var(--gray-400);
}

/* ── PRICING TABLE - Premium Design ── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-elevated) 100%);
  color: white;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.pricing-table td {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--font-sm);
  background: white;
  transition: background var(--duration);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--primary-glow);
}

.pricing-table .price {
  font-weight: 700;
  color: var(--primary);
  font-size: var(--font-base);
}

/* ── FORMS - Premium Styling ── */
.form-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--dark);
}

input, select, textarea {
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: var(--font-base);
  font-family: inherit;
  color: var(--dark);
  background: var(--light);
  transition: all var(--duration) var(--ease-out);
  width: 100%;
}

input::placeholder, textarea::placeholder {
  color: var(--gray-400);
}

input:hover, select:hover, textarea:hover {
  border-color: var(--gray-300);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.file-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  background: var(--light);
}

.file-upload-area:hover,
.file-upload-area:focus-within {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.file-upload-area i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.file-upload-area p {
  font-size: var(--font-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.file-upload-area input[type="file"] {
  display: none;
}

/* ── PAGE HERO - Inner Pages ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: white;
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(230, 51, 41, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-lg);
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-6);
  font-size: var(--font-sm);
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ── BLOG - Magazine Style ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-8);
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card__img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.08);
}

.blog-card__body {
  padding: var(--space-8);
}

.blog-card__date {
  font-size: var(--font-xs);
  color: var(--gray-400);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.blog-card__body h3 {
  font-size: var(--font-xl);
  margin-bottom: var(--space-3);
  color: var(--dark);
  line-height: 1.3;
}

.blog-card__body p {
  font-size: var(--font-sm);
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  margin-bottom: var(--space-8);
}

.contact-info__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-glow) 0%, rgba(230, 51, 41, 0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: var(--font-lg);
  border: 1px solid rgba(230, 51, 41, 0.1);
}

.contact-info__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--dark);
}

.contact-info__text span,
.contact-info__text a {
  color: var(--gray-500);
  font-size: var(--font-sm);
}

.contact-info__text a:hover {
  color: var(--primary);
}

/* ── CTA BAND - Premium Gradient ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #B91C1C 100%);
  color: white;
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,107,53,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-band p {
  font-size: var(--font-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-band__btns {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-band .btn--dark {
  background: var(--dark);
  border-color: var(--dark);
}

.cta-band .btn--outline {
  border-color: white;
  color: white;
}

.cta-band .btn--outline:hover {
  background: white;
  color: var(--primary);
}

/* ── FOOTER - Premium Dark ── */
.footer {
  background: linear-gradient(180deg, var(--dark) 0%, #050810 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-20) 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 51, 41, 0.3), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

.footer__brand .footer__logo {
  margin-bottom: var(--space-6);
}

.footer__brand p {
  font-size: var(--font-sm);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.6);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-base);
  transition: all var(--duration) var(--ease-out);
  background: rgba(255, 255, 255, 0.03);
}

.footer__socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer__links h4 {
  color: white;
  font-size: var(--font-base);
  margin-bottom: var(--space-6);
  font-weight: 600;
}

.footer__links ul li {
  margin-bottom: var(--space-3);
}

.footer__links ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-sm);
  transition: all var(--duration);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__links ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer__contact h4 {
  color: white;
  font-size: var(--font-base);
  margin-bottom: var(--space-6);
  font-weight: 600;
}

.footer__contact p {
  font-size: var(--font-sm);
  margin-bottom: var(--space-3);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.footer__contact p a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact p a:hover {
  color: var(--primary);
}

.footer__contact i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact .btn--whatsapp {
  margin-top: var(--space-6);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-6) 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ── WHATSAPP FLOAT - Premium ── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--duration) var(--ease-out);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  color: white;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 51, 41, 0.1) 0%, transparent 100%);
  z-index: 1;
}

.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.value-item {
  background: linear-gradient(135deg, var(--light) 0%, white 100%);
  border-radius: var(--radius);
  padding: var(--space-6);
  border-left: 4px solid var(--primary);
  transition: all var(--duration) var(--ease-out);
}

.value-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.value-item h4 {
  font-size: var(--font-sm);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.value-item p {
  font-size: var(--font-xs);
  color: var(--gray-500);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-8);
}

.team-card {
  text-align: center;
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all var(--duration) var(--ease-out);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-4);
  border: 4px solid var(--primary-glow);
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: var(--font-base);
  margin-bottom: var(--space-1);
}

.team-card span {
  font-size: var(--font-sm);
  color: var(--gray-400);
}

/* ── UTILITIES ── */
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray-500); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-8); }
.mb-1 { margin-bottom: var(--space-4); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
}

.badge--new { background: #DBEAFE; color: #1D4ED8; }
.badge--pending { background: #FEF3C7; color: #92400E; }
.badge--production { background: #FEE2E2; color: #991B1B; }
.badge--ready { background: #D1FAE5; color: #065F46; }
.badge--completed { background: var(--gray-100); color: var(--gray-600); }
.badge--cancelled { background: #F3F4F6; color: var(--gray-500); }

/* ── ANIMATIONS ── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
[data-animate]:nth-child(1) { transition-delay: 0s; }
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── RESPONSIVE - Premium Breakpoints ── */
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero { padding: var(--space-16) 0; min-height: auto; }
  .hero__content { max-width: 100%; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 1024px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-20: 3.5rem;
    --space-16: 3rem;
  }
  
  .navbar__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-100);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    gap: var(--space-2);
  }
  
  .navbar__links.open { display: flex; }
  .navbar { position: relative; }
  .navbar__toggle { display: flex; }
  
  .navbar__links li a {
    padding: var(--space-3) var(--space-4);
    width: 100%;
    display: block;
  }
  
  .navbar__links .btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: var(--space-2);
  }
  
  .topbar__inner { flex-direction: column; text-align: center; }
  .hero__image { display: none; }
  .hero h1 { font-size: 2rem; }
  
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: var(--space-6);
    right: var(--space-6);
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  
  .hero { padding: var(--space-12) 0; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: var(--font-base); }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  
  .section { padding: var(--space-16) 0; }
  .section__header { margin-bottom: var(--space-10); }
  
  .form-card { padding: var(--space-8); }
  
  .cta-band__btns { flex-direction: column; width: 100%; }
  .cta-band__btns .btn { width: 100%; }
}

/* ── PRINT STYLES ── */
@media print {
  .navbar, .topbar, .whatsapp-float, .cta-band, .footer { display: none; }
  .section { padding: 2rem 0; }
  * { color: black !important; background: white !important; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html { scroll-behavior: auto; }
}
