:root {
  /* Paleta Executive Carbon & Orange */
  --brand-1: #0f0f10;      /* Gris Carbón Mate (Fondo) */
  --brand-2: #1e1e1f;      /* Gris Elevado (Tarjetas) */
  --accent: #ff6b00;       /* Naranja Corporativo (Detalles) */
  --accent-hover: #e66000;
  --text-main: #f5f5f5;    /* Off-white */
  --text-muted: #a0a0a0;   /* Gris para textos secundarios */
  
  /* Configuración Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
}

/* Base */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--brand-1);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Efecto Glassmorphism para Tarjetas */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-glass:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Botones con Estilo de Dirección */
.btn-executive {
  background: var(--accent);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-executive:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.4);
  transform: scale(1.02);
}

/* Navbar y Navegación */
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all .3s;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

/* Hero Section y Gradientes */
.hero-gradient {
  background: radial-gradient(circle at top right, #252526, #0f0f10);
}

.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  padding: 5px;
  background-color: var(--brand-1);
}

/* Animación de Marquee (Carrusel de herramientas) */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tool-logo {
  height: 35px;
  filter: none;
  opacity: 0.5;
  transition: all 0.4s;
}

.tool-logo:hover {
  opacity: 1;
}

.card-glass img {
  filter: none; 
  transition: all 0.4s ease;
}

/* Utilidades para Contenido Dinámico (Contentful) */
#portfolio-ads, #portfolio-web, #portfolio-projects {
  min-height: 200px;
}

/* Ajustes para Móviles */
@media (max-width: 768px) {
  .hero-photo {
    width: 120px;
    height: 120px;
  }
}

#mobile-menu.active {
  display: block;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}