/* ENS Landing — Estilos específicos */

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.cta-secondary {
  background: transparent !important;
  border: 2px solid white;
  color: white !important;
  margin-left: 1rem;
}
.cta-secondary:hover { background: rgba(255,255,255,0.1) !important; }

.subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: #f8f9fa;
  max-width: 100%;
  padding: 4rem 2rem;
}
.section-alt h2, .section-alt .subtitle, .section-alt .phases, .section-alt .services-grid, .section-alt #faq-list {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Urgencia */
.urgency-wrapper { padding: 2rem; }
.urgency {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

/* Por qué ENS */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.reason-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.reason-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.reason-card h3 { color: #1e3c72; margin-bottom: 0.5rem; }

/* Fases */
.phases { max-width: 900px; }
.phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}
.phase-number {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.phase-content h3 { color: #1e3c72; margin-bottom: 0.3rem; }
.phase-content .duration { color: #667eea; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
.phase-content p { color: #555; }

/* Entregables */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.deliverable {
  background: #f0f4ff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 3px solid #667eea;
}
.deliverable strong { color: #1e3c72; }

/* Precios */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.pricing-card.featured { border-color: #667eea; position: relative; }
.pricing-card.featured::before {
  content: "Más popular";
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.pricing-card h3 { color: #1e3c72; font-size: 1.4rem; margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 2.2rem; font-weight: 700; color: #667eea; margin: 1rem 0; }
.pricing-card .price small { font-size: 0.9rem; color: #999; font-weight: 400; }
.pricing-card .poblacion { color: #666; margin-bottom: 0.5rem; }
.pricing-card .details { color: #888; font-size: 0.9rem; }
.pricing-card ul { list-style: none; text-align: left; margin: 1.5rem 0; padding: 0; }
.pricing-card li { padding: 0.4rem 0; padding-left: 1.5rem; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: #667eea; font-weight: 700; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}
.faq-item h3 {
  color: #1e3c72;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.faq-item h3::after { content: "+"; font-size: 1.5rem; color: #667eea; }
.faq-item.open h3::after { content: "−"; }
.faq-item p { margin-top: 0.8rem; color: #555; display: none; }
.faq-item.open p { display: block; }

/* CTA Section — fondo claro, texto oscuro, coherente con el resto de la página */
#contacto.cta-section {
  background: #ffffff;
  color: #333;
  text-align: center;
  padding: 4rem 2rem;
}
#contacto.cta-section h2 { color: #1e3c72; margin-bottom: 1rem; }
#contacto.cta-section p { color: #555; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-contacto { margin-top: 1.5rem; opacity: 0.8; }
.cta-contacto-link {
  color: #667eea;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid #667eea;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}
.cta-contacto-link:hover {
  background: #667eea;
  color: white;
  text-decoration: none;
}
/* footer links handled in style.css */

/* footer links handled in style.css */

/* Responsive */
@media (max-width: 768px) {
  .phase { grid-template-columns: 50px 1fr; }
  .cta-secondary { margin-left: 0; margin-top: 1rem; display: block; }
  .pricing-grid { grid-template-columns: 1fr; }
}
