/* ========================================
   ESTILOS PARA PÁGINA METODOLOGÍA BIM
   ======================================== */

/* Fix global para overflow horizontal */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.bim-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: 140px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.9) 50%, rgba(74, 85, 104, 0.85) 100%);
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 119, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 119, 204, 0.05) 0%, transparent 50%);
  background-size: 200px 200px, 300px 300px;
  animation: float 20s ease-in-out infinite;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0;
  min-height: calc(100vh - 140px);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: #0077CC;
  text-shadow: 0 0 20px rgba(0, 119, 204, 0.5);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 119, 204, 0.2);
  border-color: rgba(0, 119, 204, 0.5);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 400px;
}

/* BIM Visualization */
.bim-visualization {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.bim-model {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 119, 204, 0.3);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.model-header {
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.model-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.model-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.model-content {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.bim-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.layer-info {
  flex: 1;
}

.layer-name {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.layer-status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 30%;
  left: -30px;
  animation-delay: 2s;
}

.floating-card.card-3 {
  top: 60%;
  right: -15px;
  animation-delay: 4s;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .bim-hero {
    padding-top: 130px;
    align-items: flex-start;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .bim-model {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  /* Fix para overflow horizontal */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .bim-hero {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    align-items: flex-start;
    overflow: hidden;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    min-height: auto;
    padding: 1rem 0;
    align-items: center;
    width: 100%;
  }
  
  .hero-text {
    align-items: center;
    width: 100%;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  .hero-features {
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .feature-item {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .bim-model {
    transform: scale(0.7);
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
  
  .floating-card {
    display: none;
  }
  
  .bim-visualization {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* ========================================
   SECCIONES DEL CUERPO DE LA PÁGINA
   ======================================== */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 2px;
}

.section-description {
  font-size: 1.25rem;
  color: #4a5568;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

/* BIM Benefits Section */
.bim-benefits-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.bim-benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 119, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 119, 204, 0.03) 0%, transparent 50%);
  background-size: 300px 300px, 400px 400px;
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 119, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 0 2px 2px 0;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 119, 204, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 119, 204, 0.25);
  border-color: rgba(0, 119, 204, 0.3);
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.benefit-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.benefit-stats {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.875rem;
}

/* BIM Process Section */
.bim-process-section {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: 3px solid white;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 119, 204, 0.1);
  flex: 1;
  max-width: 500px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 0 2px 2px 0;
}

.step-content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 119, 204, 0.2);
  border-color: rgba(0, 119, 204, 0.3);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.step-content:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.step-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.step-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-features li {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 500;
}

.step-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}

/* BIM Services Section */
.bim-services-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.bim-services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(0, 119, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 119, 204, 0.03) 0%, transparent 50%);
  background-size: 350px 350px, 450px 450px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 119, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 0 2px 2px 0;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 119, 204, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 119, 204, 0.25);
  border-color: rgba(0, 119, 204, 0.3);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.service-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-features li {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 500;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}

/* BIM Standards Section */
.bim-standards-section {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.standards-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.standards-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.standard-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 119, 204, 0.1);
  transition: all 0.3s ease;
}

.standard-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 119, 204, 0.15);
  border-color: rgba(0, 119, 204, 0.3);
}

.standard-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.standard-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.standard-content p {
  color: #4a5568;
  line-height: 1.6;
  font-weight: 500;
}

.standards-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bim-workflow {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 119, 204, 0.3);
  width: 100%;
  max-width: 400px;
}

.workflow-header {
  text-align: center;
  margin-bottom: 2rem;
}

.workflow-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.workflow-step i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.workflow-step span {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.workflow-arrow {
  color: #0077CC;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Success Cases Section */
.success-cases-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.success-cases-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 119, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 119, 204, 0.03) 0%, transparent 50%);
  background-size: 400px 400px, 500px 500px;
  pointer-events: none;
}

.success-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.success-case-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 119, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.success-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 0 2px 2px 0;
}

.success-case-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 119, 204, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.success-case-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 119, 204, 0.25);
  border-color: rgba(0, 119, 204, 0.3);
}

.success-case-card:hover::after {
  opacity: 1;
}

.case-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0077CC 0%, #3399DD 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.success-case-card:hover .case-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.case-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.case-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.case-results {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.result-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.result-label {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 119, 204, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 119, 204, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 119, 204, 0.1) 0%, transparent 50%);
  background-size: 300px 300px, 400px 400px, 500px 500px;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
  position: relative;
}

.cta-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-feature:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-feature i {
  font-size: 1.25rem;
  color: #10b981;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-width: 200px;
  max-width: 280px;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  /* Fix para overflow horizontal en mobile pequeño */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container {
    padding: 0 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .bim-hero {
    height: auto;
    min-height: 100vh;
    padding-top: 110px;
    align-items: flex-start;
    overflow: hidden;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
    padding: 0.5rem 0;
    align-items: center;
    width: 100%;
  }
  
  .hero-text {
    align-items: center;
    width: 100%;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .hero-features {
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .feature-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .bim-model {
    transform: scale(0.6);
    width: 100%;
    max-width: 280px;
  }
  
  .model-content {
    padding: 1rem;
  }
  
  .layer-item {
    padding: 0.75rem;
  }
  
  .layer-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .layer-name {
    font-size: 0.8rem;
  }
  
  .layer-status {
    font-size: 0.7rem;
  }
  
  .bim-visualization {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Responsive Design para secciones del cuerpo */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
  
  .benefits-grid,
  .services-grid,
  .success-cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .standards-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step:nth-child(even) {
    flex-direction: column;
  }
  
  .step-content {
    max-width: 100%;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-features {
    gap: 1.5rem;
  }
  
  .cta-actions {
    gap: 1rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    min-width: 180px;
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  /* Fix para secciones del cuerpo */
  .section-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .section-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .benefits-grid,
  .services-grid,
  .success-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
  }
  
  .benefit-card,
  .service-card,
  .success-case-card {
    padding: 1.25rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .standards-content {
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .standard-item {
    padding: 1rem;
    gap: 1rem;
  }
  
  .standard-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .bim-workflow {
    padding: 1.5rem;
  }
  
  .workflow-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .workflow-arrow {
    display: none;
  }
  
  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .cta-description {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-feature {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    width: 100%;
    max-width: 280px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  
  .btn-large {
    width: 100%;
    max-width: 260px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  /* Fix para mobile pequeño */
  .section-header {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .benefits-grid,
  .services-grid,
  .success-cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.25rem;
  }
  
  .benefit-card,
  .service-card,
  .success-case-card {
    padding: 1rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .benefit-icon,
  .service-icon,
  .case-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  
  .benefit-title,
  .service-title,
  .case-title {
    font-size: 1.25rem;
  }
  
  .benefit-description,
  .service-description,
  .case-description {
    font-size: 0.95rem;
  }
  
  .standards-content {
    gap: 1.5rem;
    padding: 0 0.25rem;
  }
  
  .standard-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .standard-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
  
  .standard-content h3 {
    font-size: 1.125rem;
  }
  
  .standard-content p {
    font-size: 0.875rem;
  }
  
  .bim-workflow {
    padding: 1rem;
  }
  
  .workflow-step i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .workflow-step span {
    font-size: 0.75rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .cta-features {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  
  .cta-feature {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    max-width: 240px;
  }
  
  .cta-actions {
    gap: 0.5rem;
  }
  
  .btn-large {
    max-width: 240px;
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
  }
  
  .case-results {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
  }
} 