/* Variables de Diseño (Sistema Premium) */
:root {
  --bg-color: #050505; /* Casi negro profundo */
  --surface-color: #111111; /* Superficies sólidas oscuras */
  --glass-bg: rgba(20, 20, 20, 0.6); /* Efecto cristal */
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-color: #0066FF; /* Azul Silvauto (Ajustable con el logo real) */
  --accent-hover: #0052cc;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Navbar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

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

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  display: inline-block;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.2) 100%), url('../img/hero.jpg') no-repeat center center/cover;
  z-index: -1;
  transform: scale(1.05);
  animation: bgZoom 20s infinite alternate linear;
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-subtitle {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Secciones Generales */
.section {
  padding: 8rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de Servicios (Premium Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Especialistas Section */
.specialists-section {
  background: var(--surface-color);
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 6rem 5%;
}

.specialists-image {
  flex: 1;
  position: relative;
}

.specialists-image img {
  width: 100%;
  border-radius: 8px;
  filter: grayscale(20%) contrast(120%);
}

.specialists-content {
  flex: 1;
}

.specialists-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.specialists-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.brand-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.brand-item:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(rgba(0,102,255,0.1), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=2066&auto=format&fit=crop') no-repeat center center/cover;
  padding: 8rem 5%;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Footer */
footer {
  background: #000;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Animaciones Reveal (Scroll) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .specialists-section { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; /* Add mobile menu later */ }
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr 1fr; }
}
