/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
:root {
  /* Colores del Logo FACON CHILE */
  --color-navy-deep: #0A2540;        /* Azul Navy Profundo */
  --color-teal-medium: #1E7A8C;      /* Azul Teal Medio */
  --color-turquoise: #34B6C8;        /* Turquesa Brillante */
  --color-corporate-red: #C8102E;    /* Rojo Corporativo */
  
  /* Colores de Soporte */
  --color-charcoal: #0D1821;         /* Negro Carbón */
  --color-graphite: #1A2332;         /* Grafito */
  --color-slate: #2D3E50;            /* Pizarra */
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  
  /* Gradientes Premium */
  --gradient-primary: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-teal-medium) 50%, var(--color-turquoise) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-corporate-red) 0%, #E63946 100%);
  --gradient-dark: linear-gradient(180deg, #000000 0%, var(--color-charcoal) 100%);
  
  /* Tipografía */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  
  /* Transiciones Premium */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-expo: all 1s cubic-bezier(0.87, 0, 0.13, 1);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.1);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.15);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.2);
  --shadow-glow: 0 0 40px rgba(52, 182, 200, 0.3);
  
  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}
html { 
  font-size: 16px; 
  scroll-behavior: auto; 
}
body {
  background: var(--gradient-dark);
  color: var(--color-white);
  font-family: var(--font-primary); 
  font-size: 1rem;
  line-height: 1.7; 
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}
::selection { 
  background-color: var(--color-turquoise); 
  color: var(--color-charcoal); 
}

/* Cursor Personalizado */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-turquoise);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-turquoise);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}

/* ==========================================================================
   NAVIGATION - MODERN CLEAN DESIGN
   ========================================================================== */
.navbar {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.98); 
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1rem 2rem; 
  max-width: 1400px; 
  margin: 0 auto;
}

/* Brand Name (Sin Logo) */
.nav-brand {
  display: flex;
  align-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  letter-spacing: -0.02em;
}

.brand-highlight {
  color: var(--color-corporate-red);
  margin-left: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex; 
  gap: 2.5rem; 
  align-items: center; 
  list-style: none; 
  margin: 0; 
  padding: 0;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-navy-deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-turquoise);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-turquoise);
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Nav Toggle (Mobile) */
.nav-toggle { 
  display: none; 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block; 
  width: 25px; 
  height: 2px; 
  background: var(--color-navy-deep);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Responsive */
@media (max-width: 968px) {
  .nav-toggle { 
    display: flex; 
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }
  
  .nav-actions {
    width: 100%;
    margin-top: 1rem;
  }
  
  .nav-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   UTILITIES & TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Override para secciones con fondo oscuro */
.section .text-gradient {
  color: var(--color-turquoise);
  -webkit-text-fill-color: var(--color-turquoise);
  background: none;
}
.text-red { color: var(--color-accent-red); }
.text-muted { 
  color: rgba(255, 255, 255, 0.7);
}

/* Mejor legibilidad en fondos oscuros */
.section p {
  color: rgba(255, 255, 255, 0.85);
}

.section h2 {
  color: var(--color-white);
}

.section h3 {
  color: var(--color-white);
}
.eyebrow {
  display: block; 
  font-size: 0.875rem; 
  font-weight: 700; 
  text-transform: uppercase;
  letter-spacing: 0.15em; 
  color: var(--color-turquoise); 
  margin-bottom: 1rem;
}

/* Eyebrow en secciones oscuras */
.section .eyebrow {
  color: var(--color-turquoise);
  text-shadow: 0 0 20px rgba(52, 182, 200, 0.3);
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; position: relative; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(70,130,180,0.2), transparent); }
.relative { position: relative; } .z-10 { z-index: 10; }

/* ==========================================================================
   HERO SECTION - CINEMATOGRÁFICO PREMIUM
   ========================================================================== */
.hero { 
  position: relative; 
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden; 
  padding-top: 80px;
  background: var(--gradient-dark);
}

.hero-bg {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-image: url('../images/hero-bg.jpg'); 
  background-size: cover; 
  background-position: center;
  filter: brightness(0.3) contrast(1.1);
  opacity: 0.5; 
  z-index: 1;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(10, 37, 64, 0.3) 0%, var(--color-charcoal) 100%);
  z-index: 2;
}

.hero-grid {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  z-index: 3; 
  pointer-events: none;
  opacity: 0.6;
}

.grid-svg {
  width: 100%;
  height: 100%;
  animation: gridFloat 30s linear infinite;
}

@keyframes gridFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero-content { 
  position: relative; 
  z-index: 10; 
  text-align: center; 
  max-width: 1000px; 
  padding: 0 2rem;
}

/* Hero Logo */
.hero-logo {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.logo-main {
  height: auto;
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-main:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .logo-main {
    max-width: 280px;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(52, 182, 200, 0.15);
  border: 1px solid rgba(52, 182, 200, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-turquoise);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* Hero Title */
.hero-title { 
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem); 
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-title .line-1,
.hero-title .line-2 {
  display: block;
}

.hero-title .line-1 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-title .line-2 {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Subtitle */
.hero-subtitle { 
  font-size: clamp(1.rem, 2vw, 1.25rem); 
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 3rem; 
  max-width: 800px; 
  margin-left: auto; 
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.desktop-only {
  display: inline;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2.5rem 0;
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.stat-plus {
  font-size: clamp(1.5rem, 3vw, 2rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(52, 182, 200, 0.3), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(52, 182, 200, 0.5), transparent);
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(20px); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    min-height: calc(100vh - 60px);
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .desktop-only {
    display: none;
  }
  
  .scroll-indicator {
    bottom: 2rem;
  }
}

/* ==========================================================================
   BUTTONS PREMIUM
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: var(--transition-smooth);
  font-family: var(--font-primary);
  letter-spacing: 0.01em;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: rgba(52, 182, 200, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(52, 182, 200, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(52, 182, 200, 0.2);
  border-color: var(--color-turquoise);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 182, 200, 0.2);
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn span {
  position: relative;
  z-index: 2;
}

/* Magnetic Button Effect */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-solid-white {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-solid-white:hover {
  background-color: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   ABOUT & STATS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media(min-width: 992px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.mission-box {
  background: rgba(47,48,50,0.3); border-left: 2px solid var(--color-accent-red);
  padding: 1.5rem; backdrop-filter: blur(5px);
}
.mission-box.blue { border-color: var(--color-steel-blue); }
.mission-box h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 1rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.red { background-color: var(--color-accent-red); } .dot.blue { background-color: var(--color-steel-blue); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.stat-card { position: relative; padding: 1rem; }
.stat-number { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.stat-card::after {
  content: ''; position: absolute; bottom: -10px; left: 1rem; width: 40px; height: 2px;
  background-color: var(--color-accent-red); transition: width 0.3s ease;
}
.stat-card:hover::after { width: 80px; }

/* ==========================================================================
   SERVICES (MAGNETIC CARDS)
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.service-card {
  background-color: rgba(47, 48, 50, 0.3); border: 1px solid rgba(70, 130, 180, 0.2);
  padding: 3rem 2rem; position: relative; overflow: hidden; transition: var(--transition-smooth); backdrop-filter: blur(10px);
}
.service-card:hover { border-color: rgba(70, 130, 180, 0.5); }
.service-card .glow {
  position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(70, 130, 180, 0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease; z-index: 0;
}
.service-card:hover .glow { opacity: 1; }
.service-icon {
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  background-color: var(--color-black); border: 1px solid rgba(70, 130, 180, 0.3); color: var(--color-industrial-light);
  margin-bottom: 2rem; position: relative; z-index: 2; transition: var(--transition-smooth);
}
.service-card:hover .service-icon { color: var(--color-accent-red); border-color: rgba(230, 57, 70, 0.5); }
.service-card h3, .service-card p { position: relative; z-index: 2; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; transition: color 0.3s ease; }
.service-card:hover h3 { color: var(--color-industrial-light); }
.service-card p { color: var(--color-text-muted); font-size: 0.875rem; }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background-color: var(--color-accent-red); transition: var(--transition-smooth);
}
.service-card:hover::after { width: 100%; }

/* ==========================================================================
   TIMELINE (PROCESO)
   ========================================================================== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline-line {
  position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: rgba(70,130,180,0.2);
}
.timeline-progress {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--color-steel-blue), var(--color-accent-red));
  box-shadow: 0 0 15px rgba(70,130,180,0.8);
}
@media(min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }

.timeline-item { position: relative; display: flex; align-items: center; margin-bottom: 4rem; width: 100%; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 24px; transform: translateX(-50%);
  width: 40px; height: 40px; background: var(--color-black); border: 1px solid var(--color-steel-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; z-index: 2; box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.timeline-content {
  width: calc(100% - 60px); margin-left: 60px; padding: 2rem;
  background: rgba(47,48,50,0.1); border: 1px solid rgba(47,48,50,0.5); backdrop-filter: blur(5px);
  transition: background 0.3s ease;
}
.timeline-content:hover { background: rgba(47,48,50,0.3); }
.timeline-content h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.timeline-content p { color: var(--color-text-muted); font-size: 0.875rem; }

@media(min-width: 768px) {
  .timeline-dot { left: 50%; }
  .timeline-content { width: calc(50% - 40px); margin: 0; }
  .timeline-item.left { justify-content: flex-start; }
  .timeline-item.right { justify-content: flex-end; }
  .timeline-item.left .timeline-content { text-align: right; }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  position: relative; padding: 8rem 0; background-color: var(--color-accent-red);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cta-title { font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase; line-height: 1; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--color-black); border-top: 1px solid rgba(47,48,50,0.4); padding: 4rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 2fr; } }
.footer-brand { font-size: 1.5rem; letter-spacing: -0.05em; }
.footer-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; color: var(--color-white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-industrial-light); }
.footer-contact p { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-contact span { color: var(--color-white); font-weight: 600; display: block; }
.footer-bottom { border-top: 1px solid rgba(47,48,50,0.4); padding-top: 2rem; display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-text-muted); }

/* ==========================================================================
   PROJECTS GALLERY - MODERN DESIGN
   ========================================================================== */
.project-filters {
  display: flex; 
  gap: 0.75rem; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.75rem;
  background: transparent;
  border: 2px solid rgba(52, 182, 200, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  border-radius: 50px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(52, 182, 200, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover {
  border-color: var(--color-turquoise);
  color: var(--color-white);
  transform: translateY(-2px);
}

.filter-btn:hover::before {
  width: 200%;
  height: 200%;
}

.filter-btn.active {
  background: var(--color-turquoise);
  border-color: var(--color-turquoise);
  color: var(--color-charcoal);
  box-shadow: 0 4px 15px rgba(52, 182, 200, 0.3);
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.project-card {
  position: relative; background: rgba(47, 48, 50, 0.2); overflow: hidden;
  transition: var(--transition-smooth); border: 1px solid rgba(70, 130, 180, 0.1);
}
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-8px); border-color: rgba(70, 130, 180, 0.4); }

.project-image {
  position: relative; width: 100%; height: 280px; overflow: hidden;
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.project-card:hover .project-image img { transform: scale(1.1); }

.project-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,0.9) 100%);
  display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-category {
  display: inline-block; 
  padding: 0.4rem 1rem; 
  background: var(--color-corporate-red);
  color: var(--color-white); 
  font-size: 0.75rem; 
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.project-info {
  padding: 1.5rem;
}
.project-info h3 {
  font-size: 1.1rem; 
  margin: 0; 
  transition: color 0.3s ease;
  color: var(--color-white);
}
.project-card:hover .project-info h3 { 
  color: var(--color-turquoise); 
}

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-image { height: 240px; }
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .hero { padding-top: 70px; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 2rem; }
  .footer-grid { gap: 2rem; }
  .filter-btn { 
    padding: 0.65rem 1.4rem; 
    font-size: 0.8rem; 
  }
  
  .project-filters {
    gap: 0.5rem;
  }
}