:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', sans-serif !important;
  color: var(--text) !important;
  background-color: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Hero Section Premium con Imagen */
.hero-section {
  padding: 160px 20px !important;
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
              url('hero-agency.png') center/cover no-repeat !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white !important;
}

.hero-section h1 {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px !important;
}

.hero-section p {
  font-size: 1.25rem !important;
  max-width: 700px;
  margin: 0 auto 40px !important;
  color: var(--text-muted) !important;
}

/* Botones Modernos */
.btn-main {
  display: inline-block;
  padding: 16px 36px !important;
  background: var(--primary) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39) !important;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
  filter: brightness(1.1);
}

/* Grid de Servicios */
.features-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 32px !important;
  max-width: 1200px;
  margin: -60px auto 80px !important;
  padding: 0 20px !important;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  padding: 40px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: var(--shadow) !important;
  transition: all 0.4s ease !important;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
  background: white !important;
}

/* Testimonios */
.testimonials-section {
  padding: 100px 20px;
  background: var(--surface);
  text-align: center;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
}

.faq-item h4 {
  margin: 0 0 8px 0 !important;
  color: var(--primary) !important;
}

/* Sección de Proceso */
.process-section { padding: 100px 20px; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 50px auto 0; }
.process-step { position: relative; padding: 20px; }
.step-number { font-size: 4rem; font-weight: 900; color: var(--primary); opacity: 0.1; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 1; }
.step-content { position: relative; z-index: 2; }
.step-content h4 { margin-bottom: 15px !important; font-size: 1.5rem !important; }

/* Navegación Premium */
.main-header-bar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.main-header-menu a {
  font-weight: 500 !important;
  color: var(--text) !important;
  transition: color 0.3s ease !important;
}

.main-header-menu a:hover {
  color: var(--primary) !important;
}

/* Footer Estilizado */
.site-footer {
  background: #0f172a !important;
  color: #94a3b8 !important;
  padding: 100px 20px !important;
  text-align: center;
}

.site-footer a {
  color: white !important;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

.footer-copyright {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  font-size: 0.9rem;
}

/* Optimizaciones de accesibilidad y visuales */
.btn-main:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

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

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

/* Animación de entrada suave */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section, .features-grid, .process-section, .container {
  animation: fadeInUp 0.8s ease-out forwards;
}

@media (max-width: 768px) {
  .hero-section { padding: 80px 20px !important; }
  .features-grid { margin-top: 20px !important; }
}