/* Estilos para Corporativo Jurídico Integral, S.C. */

/* Hero Section */
.hero-corporativo {
  background: linear-gradient(135deg, #0f1419, #1a2332, #2c3e50);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-corporativo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e6b800" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero-subtitle .highlight {
  color: #e6b800;
  text-shadow: 0 0 20px rgba(230, 184, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(230, 184, 0, 0.5); }
  to { text-shadow: 0 0 30px rgba(230, 184, 0, 0.8), 0 0 40px rgba(230, 184, 0, 0.3); }
}

.subfrase {
  font-size: 1.3rem;
  color: #cccccc;
  margin-bottom: 50px;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-agendar {
  background: linear-gradient(45deg, #e6b800, #ffd700);
  color: #000;
  box-shadow: 0 8px 25px rgba(230, 184, 0, 0.3);
}

.btn-urgente {
  background: linear-gradient(45deg, #dc3545, #ff6b7a);
  color: #fff;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-tecnico {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: #fff;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.cta-buttons a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.cta-buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-buttons a:hover::before {
  left: 100%;
}

/* Posicionamiento Central */
.posicionamiento-central {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 100px 0;
  position: relative;
}

.posicionamiento-central::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #e6b800, #ffd700, #e6b800);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.8rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #e6b800, #ffd700);
}

.elevator-pitch {
  background: #ffffff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.main-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #2c3e50;
  margin-bottom: 40px;
  text-align: center;
}

.main-text strong {
  color: #e6b800;
  font-weight: 700;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.expertise-item {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.expertise-item:hover {
  border-color: #e6b800;
  transform: translateY(-10px);
}

.expertise-item i {
  font-size: 3rem;
  color: #e6b800;
  margin-bottom: 20px;
  display: block;
}

.expertise-item h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.expertise-item p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
}

.mission-text {
  font-size: 1.2rem;
  color: #495057;
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  padding: 20px;
  background: rgba(230, 184, 0, 0.1);
  border-radius: 10px;
  border-left: 4px solid #e6b800;
}

/* Servicios Especializados */
.servicios-especializados {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  padding: 100px 0;
  color: #ffffff;
}

.servicios-especializados .section-title {
  color: #ffffff;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.servicio-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #e6b800, #ffd700);
}

.servicio-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.card-icon {
  margin-bottom: 25px;
}

.card-icon i {
  font-size: 3.5rem;
  color: #e6b800;
  text-shadow: 0 0 20px rgba(230, 184, 0, 0.5);
}

.servicio-card h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 600;
}

.servicio-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.servicio-card li {
  padding: 10px 0;
  color: #e9ecef;
  position: relative;
  padding-left: 25px;
}

.servicio-card li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #e6b800;
  font-size: 0.8rem;
}

/* Animaciones */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.animate-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.animate-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-fade-in-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  transition-delay: 0.3s;
}

.animate-fade-in-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Materias Prioritarias */
.materias-prioritarias {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 100px 0;
  position: relative;
}

.materias-prioritarias::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #e6b800, #ffd700, #e6b800);
}

.section-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 60px;
  font-style: italic;
}

.materias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.materia-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.materia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  border-color: #e6b800;
}

.materia-card.especial {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border: 3px solid #e6b800;
  position: relative;
}

.materia-card.especial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to right, #e6b800, #ffd700, #e6b800);
}

.materia-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ffffff;
  padding: 25px;
  position: relative;
}

.materia-icon {
  margin-bottom: 15px;
}

.materia-icon i {
  font-size: 2.5rem;
  color: #e6b800;
  text-shadow: 0 0 15px rgba(230, 184, 0, 0.5);
}

.materia-header h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.valor-agregado {
  display: inline-block;
  background: linear-gradient(45deg, #e6b800, #ffd700);
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.3);
}

.enfoque-social-badge {
  display: inline-block;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.materia-content {
  padding: 30px;
}

.materia-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.materia-list li {
  padding: 12px 0;
  color: #495057;
  position: relative;
  padding-left: 25px;
  border-bottom: 1px solid #f8f9fa;
  transition: all 0.3s ease;
}

.materia-list li:hover {
  color: #2c3e50;
  padding-left: 35px;
}

.materia-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #e6b800;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.materia-list li:hover::before {
  left: 10px;
  color: #ffd700;
}

.diferencial, .enfoque-social, .fortaleza-probatoria, .enfasis-social, .plus {
  background: rgba(230, 184, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #dcb103;
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
}

.diferencial strong, .enfoque-social strong, .fortaleza-probatoria strong, .enfasis-social strong, .plus strong {
  color: #d7ad02;
  font-weight: 700;
}

.peritajes-grid {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.peritaje-item {
  background: rgba(230, 184, 0, 0.05);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #e6b800;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000000;
}

.peritaje-item strong {
  color: #e6b800;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .subfrase {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons a {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .elevator-pitch {
    padding: 30px 20px;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .materias-grid {
    grid-template-columns: 1fr;
  }
  
  .materia-card {
    margin: 0 10px;
  }
  
  .materia-content {
    padding: 20px;
  }
  
  .materia-header {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .cta-buttons a {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
